The AuditLevel enumeration contains values that are used to specify the Microsoft SQL Server audit level setting.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
語法
'宣告
<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. |
備註
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。