Partager via


Méthode ServerGroup.Validate

Validates the ServerGroup object against the specified method and arguments.

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
Public Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState
'Utilisation
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

Paramètres

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

Valeur de retour

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

Implémente

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Voir aussi

Référence

ServerGroup Classe

Espace de noms Microsoft.SqlServer.Management.RegisteredServers