State 属性

Returns the state of the Audit object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<ExtendedPropertyAttribute> _
Public ReadOnly Property State As SqlSmoState
    Get
用法
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

属性值

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