Método SqlSmoObject.IAlienObject.SetObjectState
Sets the object state to the specified SfcObjectState value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.
Parâmetros
- state
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
An SfcObjectState value that specifies the state of the object.
Implementa
IAlienObject.SetObjectState(SfcObjectState)