Partager via


Méthode ISfcValidate.Validate

Checks whether the DatabaseSnapshot object is properly configured.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Private Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState Implements ISfcValidate.Validate
'Utilisation
Dim instance As DatabaseSnapshotExtender
Dim methodName As String
Dim arguments As Object()
Dim returnValue As ValidationState

returnValue = CType(instance, ISfcValidate).Validate(methodName, _
    arguments)
ValidationState ISfcValidate.Validate(
    string methodName,
    params Object[] arguments
)
private:
virtual ValidationState^ Validate(
    String^ methodName, 
    ... array<Object^>^ arguments
) sealed = ISfcValidate::Validate
private abstract Validate : 
        methodName:string * 
        arguments:Object[] -> ValidationState 
private override Validate : 
        methodName: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

Valeur de retour

Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ValidationState
A ValidationState object that provides overall state information.

Implémente

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