RadarSoft.RadarCube.Web.MSAS Send comments on this topic.
AddDataTable(DataTable) Method
See Also 
RadarSoft.RadarCube.Web Namespace > TOLAPCube Class > AddDataTable Method : AddDataTable(DataTable) Method




OriginalTable
The original table to read data from.
Adds a new table to the data schema retrieving metadata and fetching data from a specified System.Data.DataTable object.

Syntax

Visual Basic (Declaration) 
Public Overloads Function AddDataTable( _
   ByVal OriginalTable As DataTable _
) As TDataTable
Visual Basic (Usage)Copy Code
Dim instance As TOLAPCube
Dim OriginalTable As DataTable
Dim value As TDataTable
 
value = instance.AddDataTable(OriginalTable)
C# 
public TDataTable AddDataTable( 
   DataTable OriginalTable
)
Managed Extensions for C++ 
public: TDataTable* AddDataTable( 
   DataTable* OriginalTable
) 
C++/CLI 
public:
TDataTable^ AddDataTable( 
   DataTable^ OriginalTable
) 

Parameters

OriginalTable
The original table to read data from.

Return Value

Returns either a matching table from the table collection or, if there's no match, creates and returns a new one.

Remarks

Use this method to add a new table into the data schema when you're creating the cube in run time. This method simply makes a call on TDataSet.AddDataTable method to add a new table in the data schema.

Requirements

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

See Also

© 2010 Radar-Soft, L.L.C. All Rights Reserved.