DocumentLibraryVersions.IsVersioningEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Boolean value that indicates whether the document library in which the active document is saved on the server is configured to create a backup copy, or version, each time the file is edited on the Web site.
public:
property bool IsVersioningEnabled { bool get(); };
public bool IsVersioningEnabled { get; }
member this.IsVersioningEnabled : bool
Public ReadOnly Property IsVersioningEnabled As Boolean
Property Value
Remarks
Versioning is enabled or disabled on the document library and not on individual documents. Therefore the value of the IsVersioningEnabled property depends on the document library in which the document is saved.