AuditLevel Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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


<FlagsAttribute> _
Public Enumeration AuditLevel
Dim instance As AuditLevel
public enum AuditLevel
public enum class AuditLevel
type AuditLevel
public enum AuditLevel


Member name Description
None Does not audit login attempts.
Success Audits successful login attempts.
Failure Audits failed login attempts.
All Audits both successful and failed login attempts.