Freigeben über


Session.Validate-Methode (String)

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
)

Parameter

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

Ausnahmen

Ausnahme Bedingung
XEventException

Validation failed.

Siehe auch

Verweis

Session Klasse

Validate-Überladung

Microsoft.SqlServer.Management.XEvent-Namespace