Condition.ISfcValidate.Validate Método
Validates a Policy-based Management condition against a specified object using a specified validation method.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Private Function Validate ( _
validationMethod As String, _
ParamArray arguments As Object() _
) As ValidationState Implements ISfcValidate.Validate
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- validationMethod
Tipo: System.String
A String value that specifies the validation method.
- arguments
Tipo: array<System.Object[]
A Object used by the validation method.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
A ValidationState object.
Implementa
ISfcValidate.Validate(String, array<Object[])