共用方式為


AuditSpecificationStatement.AuditState 屬性

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

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property AuditState As OptionState 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

AuditSpecificationStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間