Click or drag to resize

IVersionableItemGetAutoVersion Method

IT Hit WebDAV Classes Reference
Retrieves 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
AutoVersion GetAutoVersion()

Field Value

Type: AutoVersion
One of AutoVersion enum values.

Return Value

Type: AutoVersion
.
Exceptions
ExceptionCondition
NeedPrivilegesExceptionThe user doesn't have enough privileges.
DavExceptionIn other cases.
Examples

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

public AutoVersion GetAutoVersion()
{
    return getDbField<AutoVersion>("AutoVersion", AutoVersion.NoAutoVersioning);
}
See Also