Class CubeDataSource
Represents an OLAP cube to data items.
Inherited Members
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class CubeDataSource : DataSource, INamedObject, ICloneable, IEquatableDataSource, ISimpleDataSource, IDataSource, IConnectionDataSource
Constructors
CubeDataSource()
CubeDataSource(String, String)
Initializes a new instance of the CubeDataSource class.
Declaration
public CubeDataSource(string connectionString, string selectCommand)
Parameters
System.String
connectionString
Specifies the connection string used to connect to the OLAP database. |
System.String
selectCommand
Specifies the MDX select statement to execute against the OLAP cube. |
Properties
ConnectionString
Gets or sets the connection string used to connect to the OLAP database.
Declaration
public string ConnectionString { get; set; }
Property Value
System.String
|
Remarks
The ConnectionString property contains a valid connection string or a name of a System.Configuration.ConnectionStringSettings in the application's configuration file.
Mappings
Gets a collection with DataFieldMapping objects.
Declaration
public DataFieldMappingCollection Mappings { get; }
Property Value
DataFieldMappingCollection
|
Remarks
The Mappings collection is used to map the names of the data source fields to the actual fields returned when executing the MDX select statement.
Parameters
Gets a collection with CubeDataSourceParameter objects.
Declaration
public CubeDataSourceParameterCollection Parameters { get; }
Property Value
CubeDataSourceParameterCollection
|
Remarks
The Parameters collection is used to pass named parameters when executing a parameterized MDX select statement against the OLAP cube.
SelectCommand
Gets or sets the MDX select statement to execute against the OLAP cube.
Declaration
public string SelectCommand { get; set; }
Property Value
System.String
|