virtual bool CORow::Copy(LPCOLESTR strSourceURLs[], LPCOLESTR strDestURLs[], DBSTATUS *pnStatus,ULONG nRows=1, LPOLESTR *strNewURLs=NULL, OLECHAR **ppStringsBuffer=NULL, DBCOPYFLAGS nCopyFlags=DBCOPY_ALLOW_EMULATION|DBCOPY_REPLACE_EXISTING, IAuthenticate *pIAuthenticate=NULL);
Return Value
true if successful; otherwise false.
Parameters
[in] strSourceURLs:
A pointer to an array of nRows canonical URLs naming the source trees or subtrees to be copied.
[in] strDestURLs:
A pointer to an array of nRows canonical URLs naming the destination trees or subtrees.
[out] pnStatus:
A pointer to an array of nRows DBSTATUS status fields indicating whether each element of strSourceURLs was copied to strDestURLs.
[in] nRows:
Count of trees and subtrees named by the strSourceURLs and strDestURLs arrays.
[out] strNewURLs:
A pointer to an optional consumer-allocated array of nRows pointers to the provider-assigned and allocated canonical destination URLs.
[out] ppStringsBuffer:
A pointer to memory which receives all generated URL strings within a single allocation block. A consumer should free this buffer.
[in] nCopyFlags:
Flags describing additional semantics for the copy operation.
[in] pIAuthenticate:
An optional pointer to the caller's IAuthenticate interface.
Remark
Copies trees or subtrees from an array of source URLs to a corresponding array of destination URLs. Refers to IScopedOperations::Copy.
CORow Class Overview & Class Members