مشاركة عبر


Policy.ISfcValidate.Validate Method

Validates a Policy object.

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

Syntax

'Declaration
Private Function Validate ( _
    validationMethod As String, _
    ParamArray arguments As Object() _
) As ValidationState Implements ISfcValidate.Validate
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • validationMethod
    Type: System.String
    A string value that specifies the validation method.
  • arguments
    Type: array<System.Object[]
    An array of [T:System.String,System.Object] arguments.

Return Value

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

Implements

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

See Also

Reference

Policy Class

Microsoft.SqlServer.Management.Dmf Namespace