Click or drag to resize

IFilePutUnderVersionControl Method (Boolean, String)

IT Hit WebDAV Classes Reference
Enables / disables version control for this file.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntax
void PutUnderVersionControl(
	bool enable,
	string lockToken
)

Parameters

enable
Type: SystemBoolean
True to enable version-control, false - to disable.
lockToken
Type: SystemString
Lock token for this item.
Exceptions
ExceptionCondition
LockedExceptionThis item is locked and invalid lock token was provided.
UnauthorizedExceptionRequest is not authorized.
NotFoundExceptionThis resource doesn't exist on the server.
NotVersionableExceptionThis resource doesn't support version-control method.
WebDavHttpExceptionServer returned unknown error.
WebDavExceptionIn case of any unexpected error.
See Also