Méthode Policy.ISfcValidate.Validate
Validates a Policy object.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Private Function Validate ( _
validationMethod As String, _
ParamArray arguments As Object() _
) As ValidationState Implements ISfcValidate.Validate
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- 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.
Valeur de retour
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
A ValidationState object.
Implémente
ISfcValidate.Validate(String, array<Object[])