Validates the specified method name.
命名空间: Microsoft.SqlServer.Management.XEvent
程序集: Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)
语法
声明
Public Sub Validate ( _
methodName As String _
)
用法
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
)
参数
- methodName
类型:System.String
A string value that contains the name of the method: ValidationMethod.Create or ValidationMethod.Alter.
异常
异常 | 条件 |
---|---|
XEventException | Validation failed. |