Click or drag to resize
AceoffixCtrlTimeSpan Property
Gets or sets the time span of concurrency control, in minutes.

Namespace: Aceoffix
Assembly: Aceoffix (in Aceoffix.dll) Version: 5.0.0.1
Syntax
public int TimeSpan { get; set; }

Property Value

Type: Int32
The default value is 0 which means that the current document do not use concurrency control.
Remarks

When many people attempt to modify a document online at the same time, a document lock must be implemented so that modifications made by one person do not adversely affect those of another person. This is called document concurrency in Aceoffix.

A document lock prevents users from modifying document in a way that affects other users. After a user opens a document for editing that causes a lock to be applied, other users cannot open this document for editing that would conflict with the lock until the owner releases it. Other users can get a notice message which indicates who is editing the current document.

If the value of TimeSpan is greater than 0, the concurrency control will be started to control the current document.

The value of TimeSpan means how many minutes a owner can lock the document.

When TimeSpan is timeout, Aceoffix will automatically release the lock and the owner can not save the document. If the owner closes the document before the TimeSpan is timeout, Aceoffix also will automatically release the lock. After the lock is released, other user can open the document for editing immediately.

During the lock is valid, other users can open the document as read-only.

See Also