Discuss this help topic in SecureBlackbox Forum

TElWebDAVStorageObject.Lock

TElWebDAVStorageObject     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Puts a lock on the object.

Declaration

[C#/Java]
    TElWebDAVLock Lock(TSBWebDavLockScope Scope /* = 0 */, TSBWebDavDepth Depth /* = 2 */, int Timeout /* = 0 */);

[VB.NET]
    Function Lock(ByVal Scope As TSBWebDavLockScope = 0, ByVal Depth As TSBWebDavDepth = 2, ByVal Timeout As Integer = 0) As TElWebDAVLock

[Pascal]
    function Lock(const Scope : TSBWebDavLockScope = 0; const Depth : TSBWebDavDepth = 2; const Timeout : integer = 0) : TElWebDAVLock;

[PHP]
    TElWebDAVLock Lock(integer $Scope, integer $Depth, integer $Timeout)

Parameters

  • Scope - specifies the lock scope.
  • Depth - specifies the lock depth.
  • Timeout - specifies the lock timeout.

Scope values:


Depth values:


Return value

    Returns the lock object.

Description

    Use this property to put a new lock on the object.

See also:     Unlock     Locks    

Discuss this help topic in SecureBlackbox Forum