Share via


IServerSettings.AuditLevel Property

Gets or sets the audit level for an instance of SQL Server.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_AuditLevelDesc")> _
<DisplayNameKeyAttribute("Server_AuditLevelName")> _
Property AuditLevel As AuditLevel 
    Get 
    Set
'Usage
Dim instance As IServerSettings 
Dim value As AuditLevel 

value = instance.AuditLevel

instance.AuditLevel = value
[DisplayDescriptionKeyAttribute("Server_AuditLevelDesc")]
[DisplayNameKeyAttribute("Server_AuditLevelName")]
AuditLevel AuditLevel { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_AuditLevelDesc")]
[DisplayNameKeyAttribute(L"Server_AuditLevelName")]
property AuditLevel AuditLevel {
    AuditLevel get ();
    void set (AuditLevel value);
}
[<DisplayDescriptionKeyAttribute("Server_AuditLevelDesc")>]
[<DisplayNameKeyAttribute("Server_AuditLevelName")>]
abstract AuditLevel : AuditLevel with get, set
function get AuditLevel () : AuditLevel 
function set AuditLevel (value : AuditLevel)

Property Value

Type: Microsoft.SqlServer.Management.Smo.AuditLevel
The audit level for an instance of SQL Server.

See Also

Reference

IServerSettings Interface

Microsoft.SqlServer.Management.Smo Namespace