ClassCubeDataSource
Represents an OLAP cube to data items.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
public class CubeDataSource : DataSource, IDataSource
Inheritance: objectMarshalByRefObjectComponentDataSourceCubeDataSource
Implements:
Inherited Members
Constructors
CubeDataSource()
Initializes a new instance of the CubeDataSource class.
Declaration
public CubeDataSource()
CubeDataSource(string, string)
Initializes a new instance of the CubeDataSource class.
Declaration
public CubeDataSource(string connectionString, string selectCommand)
Parameters
connectionString
string
Specifies the connection string used to connect to the OLAP database.
selectCommand
string
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
string
Remarks
The ConnectionString property contains a valid connection string or a name of a ConnectionStringSettings in the application's configuration file.
Mappings
Gets a collection with DataFieldMapping objects.
Declaration
public DataFieldMappingCollection Mappings { get; }
Property Value
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
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
string