Metodo SqlSmoObject.IAlienObject.SetObjectState
Sets the object state to the specified SfcObjectState value.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Private Sub SetObjectState ( _
state As SfcObjectState _
) Implements IAlienObject.SetObjectState
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- state
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
An SfcObjectState value that specifies the state of the object.
Implementa
IAlienObject.SetObjectState(SfcObjectState)