Server.AuditLevel Property

Gets or sets the AuditLevel property value.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AuditLevel As AuditLevel 
    Get 
    Set
'Usage
Dim instance As Server 
Dim value As AuditLevel 

value = instance.AuditLevel

instance.AuditLevel = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AuditLevel AuditLevel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property AuditLevel AuditLevel {
    AuditLevel get () sealed;
    void set (AuditLevel value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract AuditLevel : AuditLevel with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override AuditLevel : AuditLevel with get, set
final function get AuditLevel () : AuditLevel 
final function set AuditLevel (value : AuditLevel)

Property Value

Type: Microsoft.SqlServer.Management.Smo.AuditLevel
The AuditLevel property value.

Implements

IServerSettings.AuditLevel

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace