语言

SmoObjectBase.SetState(SqlSmoState) 方法

定义

设置对象状态(现有、已删除等)应用程序应避免使用此方法。

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

参数

state
SqlSmoState

适用于