SPList.ExcludeFromOfflineClient property
SharePoint 2013
Gets or sets a value that indicates whether the list should be downloaded to the client during offline synchronization.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue to exclude the list; otherwise, false. You cannot change the property value if the list has an external data source.
| Exception | Condition |
|---|---|
| NotSupportedException | The value of the ExcludeFromOfflineClient property cannot be changed when the value of the HasExternalDataSource property is true. |