Partilhar via


Método Validate

Validates the specified method with specified parameters for the Service Contract.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState
'Uso
Dim instance As ServiceContractExtender
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

Parâmetros

  • arguments
    Tipo: array<System. . :: . .Object> [] () [] []
    An [T.System.Object] array that contains the method parameters.

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ValidationState
A ValidationState object specifying the state of the object.

Implementa

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