AuditSpecificationStatement.AuditState Property

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)

Property Value

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

See Also

Reference

AuditSpecificationStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace