Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates the specified method name.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public Sub Validate ( _
methodName As String _
)
'Usage
Dim instance As Session
Dim methodName As String
instance.Validate(methodName)
public void Validate(
string methodName
)
public:
void Validate(
String^ methodName
)
member Validate :
methodName:string -> unit
public function Validate(
methodName : String
)
Parameters
- methodName
Type: System.String
A string value that contains the name of the method: ValidationMethod.Create or ValidationMethod.Alter.
Exceptions
Exception | Condition |
---|---|
XEventException | Validation failed. |