SPList.EnableVersioning - Propriété
Gets or sets a Boolean value that specifies whether versioning is enabled for the document library.
Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Property EnableVersioning As Boolean
Get
Set
'Utilisation
Dim instance As SPList
Dim value As Boolean
value = instance.EnableVersioning
instance.EnableVersioning = value
public bool EnableVersioning { get; set; }
Valeur de propriété
Type : System.Boolean
true if versioning is enabled; otherwise, false.
Remarques
Although the EnableVersioning property is defined on the SPList class, versioning is only available for document library lists.