Метод 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[])