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
參數
- methodName
型別:System.String
A String that specifies that the key that identifies the referenced object.
- arguments
型別:array<System.Object[]
An 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 版支援此命名空間、類別或成員。