SqlSmoObject.IAlienObject.SetObjectState Método
Sets the object state to the specified SfcObjectState value.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Private Sub SetObjectState ( _
state As SfcObjectState _
) Implements IAlienObject.SetObjectState
'Uso
Dim instance As SqlSmoObject
Dim state As SfcObjectState
CType(instance, IAlienObject).SetObjectState(state)
void IAlienObject.SetObjectState(
SfcObjectState state
)
private:
virtual void SetObjectState(
SfcObjectState state
) sealed = IAlienObject::SetObjectState
private abstract SetObjectState :
state:SfcObjectState -> unit
private override SetObjectState :
state:SfcObjectState -> unit
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- state
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
An SfcObjectState value that specifies the state of the object.
Implementa
IAlienObject.SetObjectState(SfcObjectState)