DatabaseSnapshotExtender.ISfcValidate.Validate 方法
Checks whether the DatabaseSnapshot object is properly configured.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Private Function Validate ( _
methodName As String, _
ParamArray arguments As Object() _
) As ValidationState Implements ISfcValidate.Validate
'用途
Dim instance As DatabaseSnapshotExtender
Dim methodName As String
Dim arguments As Object()
Dim returnValue As ValidationState
returnValue = CType(instance, ISfcValidate).Validate(methodName, _
arguments)
ValidationState ISfcValidate.Validate(
string methodName,
params Object[] arguments
)
private:
virtual ValidationState^ Validate(
String^ methodName,
... array<Object^>^ arguments
) sealed = ISfcValidate::Validate
private abstract Validate :
methodName:string *
arguments:Object[] -> ValidationState
private override Validate :
methodName:string *
arguments:Object[] -> ValidationState
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- methodName
型別:System.String
A String value that identifies the method to validate
- arguments
型別:array<System.Object[]
The arguments of the method.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
A ValidationState object that provides overall state information.
實作
ISfcValidate.Validate(String, array<Object[])