Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the object state to the specified SfcObjectState value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Private Sub SetObjectState ( _
state As SfcObjectState _
) Implements IAlienObject.SetObjectState
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- state
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
An SfcObjectState value that specifies the state of the object.
Implements
IAlienObject.SetObjectState(SfcObjectState)