Freigeben über


Validate-Methode

Validates a method associated with a Parent Plan Guide.

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

Syntax

'Declaration
Public Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState
'Usage
Dim instance As PlanGuideExtender
Dim methodName As String
Dim arguments As Object()
Dim returnValue As ValidationState

returnValue = instance.Validate(methodName, _
    arguments)
public ValidationState Validate(
    string methodName,
    params Object[] arguments
)
public:
virtual ValidationState^ Validate(
    String^ methodName, 
    ... array<Object^>^ arguments
) sealed
abstract Validate : 
        methodName:string * 
        arguments:Object[] -> ValidationState 
override Validate : 
        methodName:string * 
        arguments:Object[] -> ValidationState 
public final function Validate(
    methodName : String, 
    ... arguments : Object[]
) : ValidationState

Parameter

  • arguments
    Typ: array<System. . :: . .Object> [] () [] []
    [T.System.Object] array. Note the params keyword indicating a variable number of objects may be passed to this method.

Implementiert

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