Discuss this help topic in SecureBlackbox Forum

TElWebDAVStorageObject.Lock

TElWebDAVStorageObject     See also     


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


Puts a lock on the object.

Declaration

[VB.NET]
    Function Lock(ByVal Scope As TSBWebDAVLockScope, ByVal Depth As TSBWebDAVDepth, ByVal Timeout As Integer) As TElWebDAVLock

[Pascal]
    function Lock(const Scope : TSBWebDAVLockScope = wlsExclusive; const Depth : TSBWebDAVDepth = wddInfinity; const Timeout : integer = SB_WEBDAV_LOCK_INFINITE_TIMEOUT) : 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