共用方式為


List.EnableMinorVersions 屬性

取得或設定值,指出是否已經為清單啟用次要版本。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Property EnableMinorVersions As Boolean
    Get
    Set
'用途
Dim instance As List
Dim value As Boolean

value = instance.EnableMinorVersions

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

屬性值

類型:System.Boolean
傳回Booleantrue如果清單已啟用的次要版本否則會傳回false。預設值是

例外狀況

例外狀況 條件
[Microsoft.SharePoint.SPException]

值會設定為true ,清單不支援的次要版本。錯誤碼 ︰-2146232832。

請參閱

參照

List 類別

List 成員

Microsoft.SharePoint.Client 命名空間