Partilhar via


Propriedade do RDL IServerAuditFacet.LoginAuditLevel

Gets or sets a login audit level.

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

Sintaxe

'Declaração
<DisplayNameKeyAttribute("LoginAuditLevelName")> _
<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")> _
Property LoginAuditLevel As AuditLevel 
    Get 
    Set
'Uso
Dim instance As IServerAuditFacet 
Dim value As AuditLevel 

value = instance.LoginAuditLevel

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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.AuditLevel
A login audit level.

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Auditlevel is a [FlagsAttribute] enumeration that contains the following values:

Member Name

Description

All

Audits both successful and failed login attempts.

Failure

Audits failed login attempts.

None

Does not audit login attempts.

Success

Audits successful login attempts.

Consulte também

Referência

IServerAuditFacet Interface

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Opção c2 audit mode de configuração de servidor

Auditoria do SQL Server (Mecanismo de Banco de Dados)