Click or drag to resize

IResourceSetAutoVersion Method (AutoVersion, String)

IT Hit WebDAV Classes Reference
Sets how checked-in item responds to WebDAV client attempts to modify its content or properties.

Namespace: ITHit.WebDAV.Client
Assembly: ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 1.3.366.0
Syntax
void SetAutoVersion(
	AutoVersion autoVersion,
	string lockToken
)

Parameters

autoVersion
Type: ITHit.WebDAV.ClientAutoVersion
Auto-versioning mode.
lockToken
Type: SystemString
Lock token for this item.
Exceptions
ExceptionCondition
PropertyExceptionAttempt to set auto-versioning mode failed.
LockedExceptionThe resource is locked and no lock token was provided.
UnauthorizedExceptionRequest is not authorized.
NotFoundExceptionThis resource doesn't exist on the server.
WebDavHttpExceptionServer returned unknown error.
WebDavExceptionIn case of any unexpected error.
See Also