Share via


IAlienObject.SetObjectState Method

Sets the object state to the specified SfcObjectState value.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Sub SetObjectState ( _
    state As SfcObjectState _
)
'Usage
Dim instance As IAlienObject
Dim state As SfcObjectState

instance.SetObjectState(state)
void SetObjectState(
    SfcObjectState state
)
void SetObjectState(
    SfcObjectState state
)
abstract SetObjectState : 
        state:SfcObjectState -> unit 
function SetObjectState(
    state : SfcObjectState
)

Parameters