IServerAuditFacet.LoginAuditLevel 속성
Gets or sets a login audit level.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<DisplayNameKeyAttribute("LoginAuditLevelName")> _
<DisplayDescriptionKeyAttribute("LoginAuditLevelDesc")> _
Property LoginAuditLevel As AuditLevel
Get
Set
‘사용 방법
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)
속성 값
유형: Microsoft.SqlServer.Management.Smo.AuditLevel
A login audit level.
주의
이 네임스페이스, 클래스 또는 멤버는 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. |
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스