Udostępnij przez


IServerAuditFacet.LoginAuditLevel Property

Gets or sets a login audit level. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")> _
<DisplayNameKeyAttribute("LoginAuditLevelName")> _
Property LoginAuditLevel As AuditLevel
[DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")] 
[DisplayNameKeyAttribute("LoginAuditLevelName")] 
AuditLevel LoginAuditLevel { get; set; }
[DisplayDescriptionKeyAttribute(L"LoginAuditLevelDesc")] 
[DisplayNameKeyAttribute(L"LoginAuditLevelName")] 
property AuditLevel LoginAuditLevel {
    AuditLevel get ();
    void set (AuditLevel value);
}
/** @property */
AuditLevel get_LoginAuditLevel ()

/** @property */
void set_LoginAuditLevel (AuditLevel value)
function get LoginAuditLevel () : AuditLevel

function set LoginAuditLevel (value : AuditLevel)

Property Value

AuditLevel

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.