Moves an existing store item into this collection, overwriting any existing items.
Namespace: WebDAVSharp.Server.Stores.DiskStoreAssembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- source
- Type: WebDAVSharp.Server.Stores IWebDavStoreItem
The store item to move.
- destinationName
- Type: System String
The IWebDavStoreItem that refers to the item that was moved, in its new location.
Return Value
Type: IWebDavStoreItemThe moved IWebDavStoreItem instance.
Implements
IWebDavStoreCollection MoveItemHere(IWebDavStoreItem, String)Exceptions
Exception | Condition |
---|---|
Exception | Path to the source item not defined. |
WebDavUnauthorizedException | If the user is unauthorized or has no access |
Remarks
Note that the method should fail without creating or overwriting content in the
target collection if the move cannot go through.
See Also