Freigeben über


ServerGroup.Validate-Methode

Validates the ServerGroup object against the specified method and arguments.

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

Syntax

'Declaration
Public Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState
'Usage
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

Parameter

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

Rückgabewert

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

Implementiert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

ServerGroup Klasse

Microsoft.SqlServer.Management.RegisteredServers-Namespace