WebDavDiskStoreCollection MoveItemHere Method WebDAV#
Moves an existing store item into this collection, overwriting any existing items.

Namespace: WebDAVSharp.Server.Stores.DiskStore
Assembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public IWebDavStoreItem MoveItemHere(
	IWebDavStoreItem source,
	string destinationName
)

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: IWebDavStoreItem
The moved IWebDavStoreItem instance.

Implements

IWebDavStoreCollection MoveItemHere(IWebDavStoreItem, String)
Exceptions
ExceptionCondition
ExceptionPath to the source item not defined.
WebDavUnauthorizedExceptionIf 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