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)

Syntax

'Declaration
Public Property ExcludeFromOfflineClient As Boolean
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.ExcludeFromOfflineClient

instance.ExcludeFromOfflineClient = value
public bool ExcludeFromOfflineClient { get; set; }

Property value

Type: System.Boolean
true to exclude the website; otherwise, false.

Remarks

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

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace