IHierarchyItem.GetSupportedLock Method 

IT Hit WebDAV for .NET

NOTE: This method is now obsolete.

Use SupportedLock property instead.


Retrieves information about supported locks.

[Visual Basic]
Function GetSupportedLock() As LockScope()
[C#]
LockScope[] GetSupportedLock();

Return Value

Array of supported lock types.

Remarks

Empty array is returned if item does not support any locks.

Exceptions

Exception Type Condition
NotFoundException This item doesn't exist on the server.
PropertyForbiddenException User has not enough rights to obtain one of requested properties.
PropertyConflictException The client has provided a value whose semantics are not appropriate for the property. This includes trying to set read-only properties.
PropertyException Server returned unknown error.
WebDavException Unexpected error occurred.

See Also

IHierarchyItem Interface | ITHit.WebDAV.Client Namespace