Propriedade do RDL 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
<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")> _
<DisplayNameKeyAttribute("LoginAuditLevelName")> _
Property LoginAuditLevel As AuditLevel
Get
Set
'Uso
Dim instance As IServerAuditFacet
Dim value As AuditLevel
value = instance.LoginAuditLevel
instance.LoginAuditLevel = value
[DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")]
[DisplayNameKeyAttribute("LoginAuditLevelName")]
AuditLevel LoginAuditLevel { get; set; }
[DisplayDescriptionKeyAttribute(L"LoginAuditLevelDesc")]
[DisplayNameKeyAttribute(L"LoginAuditLevelName")]
property AuditLevel LoginAuditLevel {
AuditLevel get ();
void set (AuditLevel value);
}
[<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")>]
[<DisplayNameKeyAttribute("LoginAuditLevelName")>]
abstract LoginAuditLevel : AuditLevel with get, set
function get LoginAuditLevel () : AuditLevel
function set LoginAuditLevel (value : AuditLevel)
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .AuditLevel
AuditLevel
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