| ||||
|
| |||
Copies the item to another location. Syntax
ParametersDestinationThe destination item that this item should be copied into. NewNameThe name to give the new copy. If empty, the name of the new copy will be the same as the original with the words "Copy of" prepended. [optional, default = empty string]. CopyFlagsOne or more values from the ERUCopyFlag enum, logically OR'ed together. [optional, default = erCopyFlagNone]. RetValUpon return, contains an IERUItem interface pointer to the new copy. Return value
RemarksAll items contained within the item identified by pItemToCopy are also copied. You can copy items within a single Room, or from one room to another in the same Facility, but not across Facilities. If copying across rooms and the Open/Edit access lists or the Route access list of the source Item contains members from the source room who are not members in the target room, they are removed from that access list. If the access scope is erScopeList and this procedure results in the removal of all members from the access list, the access scope will revert to erCoordinatorsOnly. Note that:
If the Item's name is not unique in the destination container and the value erCopyFlagMakeNameUnique is not included in the CopyFlags parameter, the error EROOM_E_DUPLICATE name is returned. If the source or the target objects do not support copying, or the combination of the two is not supported, this method returns EROOM_E_INVALIDOPERATION. This method replaces IERUContainer::Copy. |
||||
|
|
Copies a row to another database or within the same database. Syntax
ParametersTargetThe Database you want to copy the Database Row into. Specifying NULL (C++) or Nothing (VB) will copy the row within its current database. RetValUpon return, contains an IERUItem interface pointer to the new copy. Return value
|