Compartilhar via


Propriedade do RDL AuditSpecificationStatement.AuditState

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

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

Sintaxe

'Declaração
Public Property AuditState As OptionState 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

AuditSpecificationStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom