Get the parent collection from the requested
Uri.
WebDavException 409 Conflict possible.
Namespace: WebDAVSharp.Server.MethodHandlersAssembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- server
- Type: WebDAVSharp.Server WebDavServer
The WebDavServer through which the request came in from the client.
- store
- Type: WebDAVSharp.Server.Stores IWebDavStore
The IWebDavStore that the WebDavServer is hosting.
- childUri
- Type: System Uri
The Uri object containing the specific location of the child
Return Value
Type: IWebDavStoreCollectionThe parrent collection as an IWebDavStoreCollection
Exceptions
Exception | Condition |
---|---|
WebDavUnauthorizedException | |
WebDavConflictException | |
WebDavUnauthorizedException | When the user is unauthorized and doesn't have access |
WebDavConflictException | When the parent collection doesn't exist |
See Also