Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TraceLocks Property
Collapse the table of content
Expand the table of content

ServerTraceEventSet.TraceLocks Property

Gets or sets a Boolean property value that specifies whether Lock category events are recorded in the trace.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public bool TraceLocks { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether Lock category events are included in the trace.
If True, Lock category events are recorded in the trace.
If False (default), Lock category events are not recorded in the trace.

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

Community Additions

ADD
Show:
© 2015 Microsoft