Aracılığıyla paylaş


Settings.AuditLevel Property

Gets or sets the audit level for the instance of Microsoft SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AuditLevel As AuditLevel
    Get
    Set
'Kullanım
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)

Property Value

Type: Microsoft.SqlServer.Management.Smo.AuditLevel
An Int32 value that specifies audit level.

Remarks

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

Examples

Configuring SQL Server in SMO

See Also

Reference

Settings Class

Microsoft.SqlServer.Management.Smo Namespace