Compartilhar via


Método ServerGroup.Validate

Validates the ServerGroup object against the specified method and arguments.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (em Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxe

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

  • methodName
    Tipo: System.String
    A String that specifies that the key that identifies the referenced object.
  • arguments
    Tipo: array<System.Object[]
    A Object that specifies the key that identifies the referenced object.

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
A ValidationState which results from the validation

Implementa

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Consulte também

Referência

ServerGroup Classe

Namespace Microsoft.SqlServer.Management.RegisteredServers