Compartilhar via


Método ISfcValidate.Validate

Validates a Policy object.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
Private Function Validate ( _
    validationMethod As String, _
    ParamArray arguments As Object() _
) As ValidationState Implements ISfcValidate.Validate
'Uso
Dim instance As Policy
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Parâmetros

  • arguments
    Tipo: array<System. . :: . .Object> [] () [] []
    An array of [T:System.String,System.Object] arguments.

Implementa

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