Click or drag to resize

IVersionableItemSetAutoVersion Method

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

Namespace: ITHit.WebDAV.Server.DeltaV
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
void SetAutoVersion(
	AutoVersion value
)

Parameters

value
Type: ITHit.WebDAV.Server.DeltaVAutoVersion

[Missing <param name="value"/> documentation for "M:ITHit.WebDAV.Server.DeltaV.IVersionableItem.SetAutoVersion(ITHit.WebDAV.Server.DeltaV.AutoVersion)"]

Field Value

Type: 
One of AutoVersion enum values.

Return Value

Type: 
.
Exceptions
ExceptionCondition
LockedExceptionThis item was locked. Client did not provide the lock token.
NeedPrivilegesExceptionThe user doesn't have enough privileges.
InsufficientStorageExceptionQuota limit is reached.
DavExceptionIn other cases.
Examples

The code below is part of 'WebDAVServer.DeltaV' sample provided with the SDK.

public void SetAutoVersion(AutoVersion value)
{
    SetDbField("AutoVersion", value);
}
See Also