共用方式為


ServerAuditSpecificationExtender.State 屬性

Returns the state of the ServerAuditSpecification object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<ExtendedPropertyAttribute> _
Public ReadOnly Property State As SqlSmoState 
    Get
'用途
Dim instance As ServerAuditSpecificationExtender 
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 ServerAuditSpecification object.

請參閱

參考

ServerAuditSpecificationExtender 類別

Microsoft.SqlServer.Management.Smo 命名空間