SmoObjectBase.Validate 方法
Validates the state of an object.
此 API 不符合 CLS 標準。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<CLSCompliantAttribute(False)> _
Public Overridable Function Validate ( _
methodName As String, _
ParamArray arguments As Object() _
) As ValidationState
'用途
Dim instance As SmoObjectBase
Dim methodName As String
Dim arguments As Object()
Dim returnValue As ValidationState
returnValue = instance.Validate(methodName, _
arguments)
[CLSCompliantAttribute(false)]
public virtual ValidationState Validate(
string methodName,
params Object[] arguments
)
[CLSCompliantAttribute(false)]
public:
virtual ValidationState^ Validate(
String^ methodName,
... array<Object^>^ arguments
)
[<CLSCompliantAttribute(false)>]
abstract Validate :
methodName:string *
arguments:Object[] -> ValidationState
[<CLSCompliantAttribute(false)>]
override Validate :
methodName:string *
arguments:Object[] -> ValidationState
public function Validate(
methodName : String,
... arguments : Object[]
) : ValidationState
參數
- methodName
型別:System.String
The method name object.
- arguments
型別:array<System.Object[]
Object array.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
The state of an object.
實作
ISfcValidate.Validate(String, array<Object[])