共用方式為


SPList.ExcludeFromOfflineClient property

取得或設定一個值,指出是否清單應下載到用戶端離線同步處理期間。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property ExcludeFromOfflineClient As Boolean
    Get
    Set
'用途
Dim instance As SPList
Dim value As Boolean

value = instance.ExcludeFromOfflineClient

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

Property value

Type: System.Boolean
true排除清單否則,請false。如果清單中的外部資料來源,就無法變更此屬性值。

Exceptions

Exception Condition
NotSupportedException

trueHasExternalDataSource屬性的值時,無法變更ExcludeFromOfflineClient屬性的值。

請參閱

參照

SPList class

SPList members

Microsoft.SharePoint namespace