Click or drag to resize

AutoVersion Enumeration

IT Hit WebDAV Classes Reference
Auto versioning modes.

Namespace:  ITHit.WebDAV.Client
Assemblies:   ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntax
public enum AutoVersion
Members
  Member nameValueDescription
NoAutoVersioning0 Auto versioning is not supported for checked-in items. Modification requests of versioning unaware clients will fail if item was not checked-out.
CheckOutCheckIn1 Before any item update (such as changing content or properties) by versioning unaware client WebDAV server will check-out item. After the item is updated it will be checked-in by server.

This potentially can create a lot of versions.

CheckOutUnlockedCheckIn2 If client tries to update checked-in item, WebDAV server will automatically check-out item. If item is not locked server will check-in when update completes.

If item is locked, server will check-in item before the unlock or when lock expires.

CheckOut3 If client tries to update checked-in item, WebDAV server will automatically check-out item. The item will be left in the check-out state after the update.

If item is locked, server will check-in item before the unlock or when lock expires.

LockedCheckOut4 If client tries to update locked checked-in item, WebDAV server will automatically check-out item.

If item is locked, server will check-in item before the unlock or when lock expires.

If item is not locked - update request will fail.

Remarks

This enumeration determines how WebDAV server responds to an attempt to modify checked-in items content or properties. Each item that support versioning can function in one of the following auto-versioning modes:

NoAutoVersioning Mode. In this mode item must be checked-out before modifications. Clients that does not support DeltaV will not be able to modify checked-in items.

CheckOutCheckIn Mode. In this mode any WebDAV client applications will be able to modify checked-in items on server. Potentially many versions may be created. Workflow for versioning-unaware WebDAV client:

  1. Lock request (optional).
  2. Modification request:
    • Auto check-out performed.
    • Modifications performed.
    • Auto check-in performed.
  3. Unlock request (optional).

CheckOutUnlockedCheckIn Mode. In this mode any WebDAV client applications will be able to modify checked-in items on server. If WebDAV client locks the item prior to update, the item will be checked in during unlock. This mode reduces the number of versions created by versioning unaware clients. The item is never left checked-out. This mode is recommended if you need to support both Class 1 and Class 2 WebDAV clients. Workflow for versioning-unaware WebDAV client:

  1. Lock request (optional).
  2. Modification request:
    • Auto check-out performed.
    • Modifications performed.
    • Auto check-in performed if item not locked.
  3. Unlock request (optional).
    • Check-in performed.
    • Unlock performed.

CheckOut Mode. In this mode any WebDAV client applications will be able to modify checked-in items on server. If the item was not locked before the update it will be left in checked-out state after modifications. Workflow for versioning-unaware WebDAV client:

  1. Lock request (optional).
  2. Modification request:
    • Auto check-out performed.
    • Modifications performed.
  3. Unlock request (optional).
    • Check-in performed.
    • Unlock performed.

LockedCheckOut Mode. Only WebDAV client applications that lock item before the update will be able to modify checked-in item. This mode minimizes amount of versions created by versioning unaware clients. Class 1 WebDAV applications will not be able to modify checked-in items. Workflow for versioning-unaware WebDAV client:

  1. Lock request (required).
  2. Modification request:
    • Auto check-out performed.
    • Modifications performed.
  3. Unlock request (required).
    • Check-in performed.
    • Unlock performed.

See Also