Partager via


SPList.ExcludeFromOfflineClient - Propriété

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

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Property ExcludeFromOfflineClient As Boolean
    Get
    Set
'Utilisation
Dim instance As SPList
Dim value As Boolean

value = instance.ExcludeFromOfflineClient

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

Valeur de propriété

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

Exceptions

Exception Condition
NotSupportedException

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

Voir aussi

Référence

SPList classe

SPList - Membres

Microsoft.SharePoint - Espace de noms