Share via


Propriété SmoObjectBase.State

Gets the state of the referenced object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property State As SqlSmoState 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Définition de propriétés

Voir aussi

Référence

SmoObjectBase Classe

Espace de noms Microsoft.SqlServer.Management.Smo