Método Session.Validate (String)
Validates the specified method name.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Sub Validate ( _
methodName As String _
)
'Uso
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
)
Parâmetros
- methodName
Tipo: System.String
A string value that contains the name of the method: ValidationMethod.Create or ValidationMethod.Alter.
Exceções
Exceção | Condição |
---|---|
XEventException | Validation failed. |