Partager via


State propriété

Returns the state of the Audit object.

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

Syntaxe

'Déclaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property State As SqlSmoState
    Get
'Utilisation
Dim instance As AuditExtender
Dim value As SqlSmoState

value = instance.State
[ExtendedPropertyAttribute]
public SqlSmoState State { get; }
[ExtendedPropertyAttribute]
public:
property SqlSmoState State {
    SqlSmoState get ();
}
[<ExtendedPropertyAttribute>]
member State : SqlSmoState
function get State () : SqlSmoState

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoState
A SqlSmoState object that specifies the current state of the Audit object.