Tries to lock current device (which can refer to several objects, such as all function's representations) in database for exclusive access. Throws
Eplan.EplApi.Base.LockingException on failure. If locked device in placed, corresponding page(s) will be locked as well.
public void LockDevice(
bool
)
public:
void LockDevice(
bool
)
Parameters
- bWithCDPs
- If true, then Connection Definition Points will locked as well and the call is equivalent to SmartLock()