SqlSmoObject.IAlienObject.SetObjectState Method
SQL Server 2012
Sets the object state to the specified SfcObjectState value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- state
- Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
An SfcObjectState value that specifies the state of the object.