DocumentLibraryVersions.IsVersioningEnabled Property
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.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
ReadOnly Property IsVersioningEnabled As Boolean
Get
'Usage
Dim instance As DocumentLibraryVersions
Dim value As Boolean
value = instance.IsVersioningEnabled
bool IsVersioningEnabled { get; }
Property Value
Type: System.Boolean
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.
See Also
Reference
DocumentLibraryVersions Interface