SmoObjectBase.State Property

Gets the state of the referenced object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)


Public ReadOnly Property State As SqlSmoState
Dim instance As SmoObjectBase
Dim value As SqlSmoState

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

Property Value

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