Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a value that indicates whether changes in objects are tracked.
Namespace: Microsoft.SharePoint.Linq
Assembly: Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)
Syntax
'Declaration
Public Property ObjectTrackingEnabled As Boolean
Get
Set
'Usage
Dim instance As DataContext
Dim value As Boolean
value = instance.ObjectTrackingEnabled
instance.ObjectTrackingEnabled = value
public bool ObjectTrackingEnabled { get; set; }
Property Value
Type: System.Boolean
true, if changes are tracked; false otherwise.
Remarks
Changes cannot be persisted to the content database if this property is false.
For best performance with queries, set ObjectTrackingEnabled to false.