共用方式為


Validate 方法 (String, Object[])

Validates the ServerGroup object against the specified method and arguments.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Public Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState
'用途
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

參數

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

傳回值

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

實作

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。