AuditLevel 枚举

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

此枚举具有可以使用其成员值位组合的 FlagsAttribute 属性。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SqlEnum(在 Microsoft.SqlServer.SqlEnum.dll 中)

语法

声明
<FlagsAttribute> _
Public Enumeration AuditLevel
用法
Dim instance As AuditLevel
[FlagsAttribute]
public enum AuditLevel
[FlagsAttribute]
public enum class AuditLevel
[<FlagsAttribute>]
type AuditLevel
public enum AuditLevel

成员

成员名称 说明
None Does not audit login attempts.
Success Audits successful login attempts.
Failure Audits failed login attempts.
All Audits both successful and failed login attempts.