SPWeb.ExcludeFromOfflineClient Property

Gets or sets a value that indicates whether the data from the website 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 website; otherwise, false.

Setting this property to true does not disable synchronization. Instead, it represents a recommendation to the client not to attempt synchronization.