adTempus API
PreviousUpNext
ILock Interface

Represents a lock on a client session.

C++
__interface ILock : IDispatch;
C#
public interface ILock : IDispatch;
Visual Basic
Public Interface ILock
Inherits IDispatch

 

See Scheduler.Freeze for more information.

Use caution when using the Freeze method in .NET. After you have finished manipulating objects and are ready for refresh to resume, you must call System.Runtime.InteropServices.Marshal.ReleaseComObject on the ILock object to force the CLR to release the interface pointer. If you do not, the session will remain locked until the ILock object is garbage collected.

adTempus API Reference version 3.0.0.0, revised 10/30/2008