Session.Validate Método (String)
Validates the specified method name.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
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.
Excepciones
Excepción | Condición |
---|---|
XEventException | Validation failed. |