Właściwość IServerAuditFacet.LoginAuditLevel
Pobiera lub ustawia poziom inspekcji logowania.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<DisplayNameKeyAttribute("LoginAuditLevelName")> _
<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")> _
Property LoginAuditLevel As AuditLevel
Get
Set
'Użycie
Dim instance As IServerAuditFacet
Dim value As AuditLevel
value = instance.LoginAuditLevel
instance.LoginAuditLevel = value
[DisplayNameKeyAttribute("LoginAuditLevelName")]
[DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")]
AuditLevel LoginAuditLevel { get; set; }
[DisplayNameKeyAttribute(L"LoginAuditLevelName")]
[DisplayDescriptionKeyAttribute(L"LoginAuditLevelDesc")]
property AuditLevel LoginAuditLevel {
AuditLevel get ();
void set (AuditLevel value);
}
[<DisplayNameKeyAttribute("LoginAuditLevelName")>]
[<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")>]
abstract LoginAuditLevel : AuditLevel with get, set
function get LoginAuditLevel () : AuditLevel
function set LoginAuditLevel (value : AuditLevel)
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.AuditLevel
AuditLevel
Uwagi
Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.
Jest Auditlevel [FlagsAttribute] wyliczenia, który zawiera następujące wartości:
Nazwa elementu członkowskiego |
Opis |
|---|---|
Wszystko |
Inspekcji zarówno prób udanych, jak i nieudane logowania. |
Błąd |
Audyty niepomyślne próby logowania. |
Brak |
Nie przeprowadzaj inspekcji prób logowania. |
SUKCES |
Pomyślne logowanie audytów prób. |
Zobacz także