The DataSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSource |
Initializes a new instance of the DataSource class.
|
Methods
Name | Description | |
---|---|---|
AssignFrom |
Copies properties from another DataSource to the current object.
(Overrides NamedCollectionItem..::..AssignFrom(NamedCollectionItem).) |
|
Clone |
Creates a copy of the current NamedCollectionItem object.
Note that the Owner property is not copied to the new object.
(Inherited from NamedCollectionItem.) |
Properties
Name | Description | |
---|---|---|
ConnectionProperties |
Gets the ConnectionProperties object containing information
about how to connect to the current data source.
A DataSource must have one and only one of the following properties specified: DataSourceReference or ConnectionProperties. |
|
DataSourceReference |
Gets or sets the full folder path (for example, “/salesreports/salesdatabase”)
or relative path (for example, “salesdatabase”)
to a data source on the same server.
Relative paths start in the same folder as the report.
The data source uses the connection properties from the DataSourceReference.
If report rendered locally then this property should contain path
to the RDS file describing datasource.
A DataSource must have one and only one of the following properties specified: DataSourceReference or ConnectionProperties. |
|
Name |
Gets or sets the unique name of the current object.
If an item with the specified name already exists in the collection,
an exception is thrown.
(Inherited from NamedCollectionItem.) |
|
Owner |
Gets the DataSources collection containing the current object.
|
|
Report |
Gets the C1RdlReport object containing the current object.
|
|
Transaction |
Gets or sets a value indicating whether the data sets that use this
data source should be executed in a single transaction.
The default is false. |