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 的硬件和软件要求。