WebDAV .NET Class Library
WebDAV .NET Class Library
WebDAV .NET
Independentsoft.Webdav.Methods
LockMethod Class
LockMethod Constructor
LockMethod Constructor
LockMethod Constructor (LockScope, String, String, String, String)

# LockMethod Constructor (LockScope, String, String, String, String)

Initializes a new instance of the LockMethod class.

Namespace: Independentsoft.Webdav.Methods
Assembly: Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
C#
VB
Copy

    public LockMethod(
    	LockScope scope,
    	string depth,
    	string timeout,
    	string owner,
    	string type
    )

    Public Sub New (
    	scope As LockScope,
    	depth As String,
    	timeout As String,
    	owner As String,
    	type As String
    )

#### Parameters

scope
  Type: Independentsoft.Webdav
  LockScope
  The scope of the lock, exclusive or shared
depth
  Type: System
  String
  The depth of the lock. Allowed values are: Depth.Zero means only this resource is locked, Depth.Infinity means this resource and recursively all its subresources are locked.
timeout
  Type: System
  String
  The lock timeout as either Second-n (where "n" is number between 0 and 4294967295) or "Infinite".
owner
  Type: System
  String
  Contains useful information that can be used to identify the owner of the lock (ie. link to a home page, an e-mail address, phone number, etc.)
type
  Type: System
  String
  The type of the lock. The only legal DAV value currently is "write".

See Also

#### Reference

LockMethod Class
LockMethod Overload
Independentsoft.Webdav.Methods Namespace
Independentsoft.Webdav
LockType

Copyright 2022 Independentsoft

Send comments on this topic to support@independentsoft.de