共用方式為


SqlSmoObject.IAlienObject.SetObjectState(SfcObjectState) Method

Definition

Sets state of this object based on provided SfcObjectState.

void IAlienObject.SetObjectState (Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState state);
abstract member Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.SetObjectState : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState -> unit
override this.Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.SetObjectState : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState -> unit
Sub SetObjectState (state As SfcObjectState) Implements IAlienObject.SetObjectState

Parameters

Implements

Applies to