Export (0) Print
Expand All
Expand Minimize

SqlSmoObject.IAlienObject.SetObjectState Method

Sets the object state to the specified SfcObjectState value.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

'Declaration
Private Sub SetObjectState ( _
	state As SfcObjectState _
) Implements IAlienObject.SetObjectState
'Usage
Dim instance As SqlSmoObject 
Dim state As SfcObjectState 

CType(instance, IAlienObject).SetObjectState(state)

Parameters

state
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
An SfcObjectState value that specifies the state of the object.

Implements

IAlienObject.SetObjectState(SfcObjectState)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft