共用方式為


SetObjectState 方法

Sets the object state to the specified SfcObjectState value.

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Sub SetObjectState ( _
    state As SfcObjectState _
)
'用途
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
)

參數