Condividi tramite


Metodo ISfcValidate.Validate

Validates a Policy-based Management condition against a specified object using a specified validation method.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Private Function Validate ( _
    validationMethod As String, _
    ParamArray arguments As Object() _
) As ValidationState Implements ISfcValidate.Validate
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ValidationState
A ValidationState object.

Implementa

ISfcValidate. . :: . .Validate(String, array<Object> [] () [] [])