共用方式為


AuditLevel 屬性

取得或設定 MicrosoftSQL 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.