共用方式為


SmoObjectBase.SetState(SqlSmoState) Method

Definition

Sets the object state (Existing, Dropped etc.) Applications should avoid using this method.

public void SetState (Microsoft.SqlServer.Management.Smo.SqlSmoState state);
member this.SetState : Microsoft.SqlServer.Management.Smo.SqlSmoState -> unit
Public Sub SetState (state As SqlSmoState)

Parameters

state
SqlSmoState

Applies to