Condividi tramite


Metodo Validate (String, Object[])

Validates the RegisteredServer object against the specified method and arguments.

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Public Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState
'Utilizzo
Dim instance As RegisteredServer
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

Parametri

  • arguments
    Tipo: array<System. . :: . .Object> [] () [] []
    An array<Object>[]()[][] that specifies the key that identifies the referenced object.

Valore restituito

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ValidationState
A ValidationState resulting from the validation method being called on the object.

Implementa

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

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.