다음을 통해 공유


Enabled 속성

Gets or sets the Boolean value that specifies whether the server audit specification is enabled or not.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Enabled As Boolean
    Get
‘사용 방법
Dim instance As ServerAuditSpecification
Dim value As Boolean

value = instance.Enabled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool Enabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool Enabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Enabled : bool
function get Enabled () : boolean

속성 값

유형: System. . :: . .Boolean
A Boolean system value that specifies whether the server audit specification is enabled or not.
If True, the server audit specification is enabled.
If False (default), the server audit specification is not enabled.