Partilhar via


AuditLevel Enumeration

The AuditLevel enumeration contains values that are used to specify the Microsoft SQL Server audit level setting.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration AuditLevel
[FlagsAttribute] 
public enum AuditLevel
[FlagsAttribute] 
public enum class AuditLevel
/** @attribute FlagsAttribute() */ 
public enum AuditLevel
FlagsAttribute 
public enum AuditLevel

Members

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.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

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

Target Platforms

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

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace