Dela via


DatabaseSnapshotExtender.ISfcValidate.Validate Method

Checks whether the DatabaseSnapshot object is properly configured.

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

Syntax

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

Parameters

  • arguments
    Type: array<System.Object[]
    The arguments of the method.

Return Value

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

Implements

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