ServerTraceEventSet.AuditLogin ServerTraceEventSet.AuditLogin ServerTraceEventSet.AuditLogin Property

Definition

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a user successfully logs on to Microsoft SQL Server.

public:
 property bool AuditLogin { bool get(); void set(bool value); };
public bool AuditLogin { get; set; }
Public Property AuditLogin As Boolean
Property Value

A Boolean value that specifies whether the AuditLogin event is included in the event set.

If True, the event is included in the event set.

If False (default), the event is not included in the event set.

Examples

Handling SMO Events

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Applies to