| Visual Basic (Declaration) | |
|---|---|
<DescriptionAttribute("Typed or untyped DataSet used as the data source for the cube. For backward compatibility only. Use DataSourceID instead.")> <ReadOnlyAttribute(True)> <RefreshPropertiesAttribute(RefreshProperties.All)> <TypeConverterAttribute("RadarSoft.RadarCube.Web.Design.TDataSetTypeConverter, RadarSoft.RadarCube.Web.Direct, Version=2.40.0.0, Culture=neutral, PublicKeyToken=674cf0e5bf72fa08")> <CategoryAttribute("Data")> Public Property DataSet As Object | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TOLAPCube Dim value As Object instance.DataSet = value value = instance.DataSet | |
| C# | |
|---|---|
[DescriptionAttribute("Typed or untyped DataSet used as the data source for the cube. For backward compatibility only. Use DataSourceID instead.")] [ReadOnlyAttribute(true)] [RefreshPropertiesAttribute(RefreshProperties.All)] [TypeConverterAttribute("RadarSoft.RadarCube.Web.Design.TDataSetTypeConverter, RadarSoft.RadarCube.Web.Direct, Version=2.40.0.0, Culture=neutral, PublicKeyToken=674cf0e5bf72fa08")] [CategoryAttribute("Data")] public object DataSet {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[DescriptionAttribute("Typed or untyped DataSet used as the data source for the cube. For backward compatibility only. Use DataSourceID instead.")] [ReadOnlyAttribute(true)] [RefreshPropertiesAttribute(RefreshProperties.All)] [TypeConverterAttribute("RadarSoft.RadarCube.Web.Design.TDataSetTypeConverter, RadarSoft.RadarCube.Web.Direct, Version=2.40.0.0, Culture=neutral, PublicKeyToken=674cf0e5bf72fa08")] [CategoryAttribute("Data")] public: __property Object* get_DataSet(); public: __property void set_DataSet( Object* value ); | |
| C++/CLI | |
|---|---|
[DescriptionAttribute("Typed or untyped DataSet used as the data source for the cube. For backward compatibility only. Use DataSourceID instead.")] [ReadOnlyAttribute(true)] [RefreshPropertiesAttribute(RefreshProperties.All)] [TypeConverterAttribute("RadarSoft.RadarCube.Web.Design.TDataSetTypeConverter, RadarSoft.RadarCube.Web.Direct, Version=2.40.0.0, Culture=neutral, PublicKeyToken=674cf0e5bf72fa08")] [CategoryAttribute("Data")] public: property Object^ DataSet { Object^ get(); void set ( Object^ value); } | |
In designtime this property is Read Only and references to the object whose ID is set in DataSourceID property.
In runtime, however, this property is writeable and can be used to assign the Cube's data source.
The DataSet can be any typed or untyped System.Data.DataSet object. In designtime use the DataSourceID property instead. If you set the DataSourceID property to the type (not the DataSet object itself) of a typed DataSet, the cube will create an instance of the DataSet object. However this can be only done in designtime since the cube only has the information about DataSet table adapters in designtime.
In runtime always use the typed or untyped DataSet object as a data source and assign it to the DataSet property.
For details see Creating the Data Source for OLAPCube and ASP.NET Direct: Creating the Cube in Runtime.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family