ServerTraceEventSet.AuditDatabaseObjectAccessEvent ServerTraceEventSet.AuditDatabaseObjectAccessEvent ServerTraceEventSet.AuditDatabaseObjectAccessEvent 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 database object is accessed, such as a schema.

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

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