ITrkRegion.isInLocked (property)

property isInLocked
Syntax: VARIANT_BOOL*pVal = object.isInLocked
object.isInLocked = VARIANT_BOOL*pVal
The isInLocked property will determine if the region is in lock. If in lock is TRUE then items cannot be moved into the region.


Dim oRegionAgent As Object
Set oRegionAgent = CreateObject("Tracker.TrkRegionAgent")
Dim oRegions As Object
Dim oRegion As Object
oRegionAgent.ProjectID = "PA1"
Set oRegions = oRegionAgent.Execute
Set oRegion = oRegions.Item(1)
x = oRegion.isInLocked