Partager via


AuditLevel propriété

Gets or sets the AuditLevel property for an instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Server_AuditLevelDesc")> _
<DisplayNameKeyAttribute("Server_AuditLevelName")> _
Property AuditLevel As AuditLevel
    Get
    Set
'Utilisation
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)