CopyDataSourceObjectEx(Source: IAdhocDataSourceObject; Id: String): IAdhocDataSourceObject;
CopyDataSourceObjectEx(Source: Prognoz.Platform.Interop.AdHoc.IAdhocDataSourceObject; Id: string): Prognoz.Platform.Interop.AdHoc.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: