Condividi tramite


Metodo Session.Validate (String)

Validates the specified method name.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
Public Sub Validate ( _
    methodName As String _
)
'Utilizzo
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
)

Parametri

  • methodName
    Tipo: System.String
    A string value that contains the name of the method: ValidationMethod.Create or ValidationMethod.Alter.

Eccezioni

Eccezione Condizione
XEventException

Validation failed.

Vedere anche

Riferimento

Session Classe

Overload Validate

Spazio dei nomi Microsoft.SqlServer.Management.XEvent