共用方式為


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.