共用方式為


State 屬性

Gets the state of the referenced object.

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

語法

'宣告
Public ReadOnly Property State As SqlSmoState
    Get
'用途
Dim instance As SmoObjectBase
Dim value As SqlSmoState

value = instance.State
public SqlSmoState State { get; }
public:
property SqlSmoState State {
    SqlSmoState get ();
}
member State : SqlSmoState
function get State () : SqlSmoState

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoState
A SqlSmoState object value that specifies the state of the referenced object.

範例

設定屬性