CopyDataSourceObjectEx(Source: IAdhocDataSourceObject; Id: String): IAdhocDataSourceObject;
Source. The data source to be copied.
Id. Identifier of data source copy.
The CopyDataSourceObjectEx method copies the specified data source creating an identifier specified by the user for the copy.
To add a data source, use the IAdhocReport.AddDataSourceObject method.
The method use is given in the example for IAdhocDataSourceObject.Id.
See also: