AuditLevel 属性

获取或设置 Microsoft SQL Server 实例的审核级别。

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AuditLevel As AuditLevel
    Get
    Set
用法
Dim instance As Settings
Dim value As AuditLevel

value = instance.AuditLevel

instance.AuditLevel = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AuditLevel AuditLevel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AuditLevel AuditLevel {
    AuditLevel get ();
    void set (AuditLevel value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AuditLevel : AuditLevel with get, set
function get AuditLevel () : AuditLevel
function set AuditLevel (value : AuditLevel)

属性值

类型:Microsoft.SqlServer.Management.Smo. . :: . .AuditLevel
一个指定审核级别的 Int32 值。

注释

The audit level specifies the tracking of unsuccessful attempts to log into the instance of SQL Server.