Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Gets or sets a login audit level.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("LoginAuditLevelName")> _
<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")> _
Property LoginAuditLevel As AuditLevel
Get
Set
'Usage
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)
Property Value
Type: Microsoft.SqlServer.Management.Smo.AuditLevel
A login audit level.
Remarks
This namespace, class, or member is supported only in version 2.0 of the 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. |
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace