Class CheckOutObject
- Namespace
- Dynamicweb.Content.Versioning
- Assembly
- Dynamicweb.dll
The CheckOutObject class provides information about an object to checkout and the user requesting the checkout
- Inheritance
-
Check
Out Object
- Inherited Members
Constructors
CheckOutObject(Type, string, string)
Initializes a new instance of the CheckOutObject class with a default maximum check out time of 30 minutes
Parameters
type
TypeThe type of object to checkout
objectId
stringThe unique id of the object to checkout
userId
stringThe id of the user who is requesting the checkout
Exceptions
CheckOutObject(Type, string, string, int)
Initializes a new instance of the CheckOutObject class
Parameters
type
TypeThe type of object to checkout
objectId
stringThe unique id of the object to checkout
userId
stringThe id of the user who is requesting the checkout
maxCheckOutTimeInMinutes
intThe maximum number of minutes the object will be checked out
Exceptions
Properties
CheckOutTime
Gets the date and time the object was checked out
Property Value
HasCheckOutExpired
Gets a value indicating if the lock on the object has expired
Property Value
- bool
True if the lock has expired, otherwise false
Key
Gets a unique Key for this not null based on the checked out objects type and id
Property Value
LockedByUsername
Gets the username of the user who is requesting the check out
Property Value
MaxCheckOutTimeInMinutes
Gets the max number of minutes the object will be checked out, the default is 30 minutes
Property Value
- int
An integer indicating how many minutes the object at most will be checked out
ObjectId
Gets the identifier of the object to check out
Property Value
ObjectType
Gets the type of object to checkout
Property Value
UserId
Gets the id of the user who is requesting the check out