Click or drag to resize

IFileAsyncPutUnderVersionControlAsync 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
Task PutUnderVersionControlAsync(
	bool enable,
	string lockToken
)

Parameters

enable
Type: SystemBoolean
True to enable version-control, false - to disable.
lockToken
Type: SystemString
Lock token for this item.

Return Value

Type: Task

[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IFileAsync.PutUnderVersionControlAsync(System.Boolean,System.String)"]

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