Validate 方法 (String, Object[])

Validates the RegisteredServer 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 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

参数

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

返回值

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

实现

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

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。