Validate 方法
此 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
String
- arguments
类型:array<System. . :: . .Object> [] () [] []
Object array
返回值
类型:ValidationState
ValidationState
实现
ISfcValidateValidate(String, array<Object>[]()[][])