Session.Validate 方法 (String, array<Object )
Validates the method specified by the name parameter.
命名空间: Microsoft.SqlServer.Management.XEvent
程序集: Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)
语法
声明
Public Function Validate ( _
methodName As String, _
ParamArray arguments As Object() _
) As ValidationState
用法
Dim instance As Session
Dim methodName As String
Dim arguments As Object()
Dim returnValue As ValidationState
returnValue = instance.Validate(methodName, _
arguments)
public ValidationState Validate(
string methodName,
params Object[] arguments
)
public:
virtual ValidationState^ Validate(
String^ methodName,
... array<Object^>^ arguments
) sealed
abstract Validate :
methodName:string *
arguments:Object[] -> ValidationState
override Validate :
methodName:string *
arguments:Object[] -> ValidationState
public final function Validate(
methodName : String,
... arguments : Object[]
) : ValidationState
参数
- methodName
类型:System.String
String value that specifies the name of the method.
- arguments
类型:array<System.Object[]
The arguments as an array of strings.
返回值
类型:Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
A private ValidationState.
实现
ISfcValidate.Validate(String, array<Object[])
注释
The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is found in the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.