Copies 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 copy from.
- destinationName
- Type: System String
The name of the copy to create of source.
- includeContent
- Type: System Boolean
The boolean for copying the containing files/folders or not.
Return Value
Type: IWebDavStoreItemThe created IWebDavStoreItem instance.
Implements
IWebDavStoreCollection CopyItemHere(IWebDavStoreItem, String, Boolean)Exceptions
Exception | Condition |
---|---|
WebDavUnauthorizedException | If the user is unauthorized or has no access |
See Also