Share via


ServerAuditSpecificationExtender.State Property

Returns the state of the ServerAuditSpecification object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property State As SqlSmoState 
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Smo.SqlSmoState
A SqlSmoState object that specifies the current state of the ServerAuditSpecification object.

See Also

Reference

ServerAuditSpecificationExtender Class

Microsoft.SqlServer.Management.Smo Namespace