Click or drag to resize

IVersionableItemCheckOut Method

IT Hit WebDAV Classes Reference
Allow modifications to the content and properties of this version-controlled item.

Namespace: ITHit.WebDAV.Server.DeltaV
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
void CheckOut(
	bool isAutoCheckOut
)

Parameters

isAutoCheckOut
Type: SystemBoolean

[Missing <param name="isAutoCheckOut"/> documentation for "M:ITHit.WebDAV.Server.DeltaV.IVersionableItem.CheckOut(System.Boolean)"]

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.
MultistatusExceptionErrors has occurred during processing of the subtree.
DavExceptionIn other cases.
Remarks

In your CheckOut(Boolean) implementation you will mark item as checked-out and allow item modifications. When item is in check-out state WebDAV client can issue commands updating item contents and properties.

Examples

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

public void CheckOut(bool autoCheckout)
{
    RequireHasToken();

    setFileCheckedOut(true, autoCheckout);
}
See Also