Validate 方法
Validates the specified method with specified parameters for the Service Contract.
命名空間: Microsoft.SqlServer.Management.Smo.Broker
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function Validate ( _
methodName As String, _
ParamArray arguments As Object() _
) As ValidationState
'用途
Dim instance As ServiceContractExtender
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
A String that specifies the name of the method.
- arguments
型別:array<System. . :: . .Object> [] () [] []
An [T.System.Object] array that contains the method parameters.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ValidationState
A ValidationState object specifying the state of the object.
實作
ISfcValidate. . :: . .Validate(String, array<Object> [] () [] [])