ServerTraceEventSet.TraceLocks Property
SQL Server 2012
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)
Property Value
Type: System.BooleanA 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.