SPList.EnableVersioning property
取得或設定一個Boolean值,指定是否啟用文件庫的版本設定。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property EnableVersioning As Boolean
Get
Set
'用途
Dim instance As SPList
Dim value As Boolean
value = instance.EnableVersioning
instance.EnableVersioning = value
public bool EnableVersioning { get; set; }
Property value
Type: System.Boolean
true如果已啟用版本設定 ;否則,請false。
備註
雖然EnableVersioning屬性定義在SPList類別,版本設定 」 是僅供文件庫清單。