LoginAuditLevel 속성
Gets or sets a login audit level.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")> _
<DisplayNameKeyAttribute("LoginAuditLevelName")> _
Property LoginAuditLevel As AuditLevel
Get
Set
‘사용 방법
Dim instance As IServerAuditFacet
Dim value As AuditLevel
value = instance.LoginAuditLevel
instance.LoginAuditLevel = value
[DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")]
[DisplayNameKeyAttribute("LoginAuditLevelName")]
AuditLevel LoginAuditLevel { get; set; }
[DisplayDescriptionKeyAttribute(L"LoginAuditLevelDesc")]
[DisplayNameKeyAttribute(L"LoginAuditLevelName")]
property AuditLevel LoginAuditLevel {
AuditLevel get ();
void set (AuditLevel value);
}
[<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")>]
[<DisplayNameKeyAttribute("LoginAuditLevelName")>]
abstract LoginAuditLevel : AuditLevel with get, set
function get LoginAuditLevel () : AuditLevel
function set LoginAuditLevel (value : AuditLevel)
주의
이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.
Auditlevel is a [FlagsAttribute] enumeration that contains the following values:
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. |