ISfcValidate.Validate 方法
Validates a Policy-based Management condition against a specified object using a specified validation method.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Private Function Validate ( _
validationMethod As String, _
ParamArray arguments As Object() _
) As ValidationState Implements ISfcValidate.Validate
'用途
Dim instance As Condition
Dim validationMethod As String
Dim arguments As Object()
Dim returnValue As ValidationState
returnValue = CType(instance, ISfcValidate).Validate(validationMethod, _
arguments)
ValidationState ISfcValidate.Validate(
string validationMethod,
params Object[] arguments
)
private:
virtual ValidationState^ Validate(
String^ validationMethod,
... array<Object^>^ arguments
) sealed = ISfcValidate::Validate
private abstract Validate :
validationMethod:string *
arguments:Object[] -> ValidationState
private override Validate :
validationMethod:string *
arguments:Object[] -> ValidationState
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- validationMethod
型別:System. . :: . .String
A String value that specifies the validation method.
- arguments
型別:array<System. . :: . .Object> [] () [] []
A Object used by the validation method.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ValidationState
A ValidationState object.
實作
ISfcValidate. . :: . .Validate(String, array<Object> [] () [] [])