Interface ILock
Interface for a requested lock
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface ILock
Properties
| Improve this Doc View SourceAccessType
Gets the access type of the lock
Declaration
[NotNull]
string AccessType { get; }
Property Value
Type | Description |
---|---|
String |
See Also
| Improve this Doc View SourceHref
Gets the href the lock is for
Declaration
[NotNull]
string Href { get; }
Property Value
Type | Description |
---|---|
String |
Path
Gets the path the lock is for
Declaration
[NotNull]
string Path { get; }
Property Value
Type | Description |
---|---|
String |
Recursive
Gets a value indicating whether the lock must be applied recusively
Declaration
bool Recursive { get; }
Property Value
Type | Description |
---|---|
Boolean |
ShareMode
Gets the share mode of the lock
Declaration
[NotNull]
string ShareMode { get; }
Property Value
Type | Description |
---|---|
String |
See Also
| Improve this Doc View SourceTimeout
Gets the timeout of the lock
Declaration
TimeSpan Timeout { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Remarks
The lock is automatically released after the expiration of the timeout.
Methods
| Improve this Doc View SourceGetOwner()
Gets the XML identifying the owner of the lock
Declaration
[CanBeNull]
XElement GetOwner()
Returns
Type | Description |
---|---|
XElement | The XML identifying the owner of the lock |