You are here: Understanding the Meridian object model > About the Folder object > The Folder object methods > Interlock method
Interlock method

Returns the result of evaluating the specified interlock.

Syntax

Interlock(InterlockName As String, [InterlockLocation As AS_WFINTERLOCK_LOCATION = AS_WFIL_PARENT_PROJECT], [DefaultResult As Boolean = False]) As Boolean

Parameters
Name Description

InterlockName

The name of the interlock to evaluate.

InterlockLocation

The location of the interlock to evaluate expressed as one of the AS_WFINTERLOCK_LOCATION constants.

DefaultResult

A value to return by default if the interlock is not satisfied.