Freigeben über


AuditSpecificationStatement.AuditState-Eigenschaft

Gets or sets whether audit was enabled or disabled by this statement.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property AuditState As OptionState 
    Get 
    Set
'Usage
Dim instance As AuditSpecificationStatement 
Dim value As OptionState 

value = instance.AuditState

instance.AuditState = value
public OptionState AuditState { get; set; }
public:
property OptionState AuditState {
    OptionState get ();
    void set (OptionState value);
}
member AuditState : OptionState with get, set
function get AuditState () : OptionState 
function set AuditState (value : OptionState)

Eigenschaftswert

Typ: Microsoft.SqlServer.TransactSql.ScriptDom.OptionState
If audit was enabled or disabled by this statement.

Siehe auch

Verweis

AuditSpecificationStatement Klasse

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace