ServerTraceEventSet.AuditDatabasePrincipalImpersonationEvent ServerTraceEventSet.AuditDatabasePrincipalImpersonationEvent ServerTraceEventSet.AuditDatabasePrincipalImpersonationEvent Property

Definition

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when there is an impersonation within the scope of the database, such as a SETUSER or an EXECUTE AS USER.

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

A Boolean value that specifies whether the AuditDatabasePrincipalImpersonationEvent 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