Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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. |