SPList.ExcludeFromOfflineClient Property

Gets or sets a value that indicates whether the list should be downloaded to the client during offline synchronization.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public bool ExcludeFromOfflineClient { get; set; }

Property Value

Type: System.Boolean
true to exclude the list; otherwise, false. You cannot change the property value if the list has an external data source.


The value of the ExcludeFromOfflineClient property cannot be changed when the value of the HasExternalDataSource property is true.