Dela via


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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration AuditLevel
'Usage
Dim instance As AuditLevel
[FlagsAttribute]
public enum AuditLevel
[FlagsAttribute]
public enum class AuditLevel
[<FlagsAttribute>]
type AuditLevel
public enum AuditLevel

Members

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.