| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function AddCalculatedHierarchy( _ ByVal DimensionName As String, _ ByVal SourceTable As TDataTable, _ ByVal DataType As Type, _ ByVal DisplayName As String _ ) As TCubeHierarchy | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TOLAPCube Dim DimensionName As String Dim SourceTable As TDataTable Dim DataType As Type Dim DisplayName As String Dim value As TCubeHierarchy value = instance.AddCalculatedHierarchy(DimensionName, SourceTable, DataType, DisplayName) | |
| C# | |
|---|---|
public TCubeHierarchy AddCalculatedHierarchy( string DimensionName, TDataTable SourceTable, Type DataType, string DisplayName ) | |
| Managed Extensions for C++ | |
|---|---|
public: TCubeHierarchy* AddCalculatedHierarchy( string* DimensionName, TDataTable* SourceTable, Type* DataType, string* DisplayName ) | |
| C++/CLI | |
|---|---|
public: TCubeHierarchy^ AddCalculatedHierarchy( String^ DimensionName, TDataTable^ SourceTable, Type^ DataType, String^ DisplayName ) | |
Parameters
- DimensionName
- Defines the name of the dimension to put the new hierarchy into.
- SourceTable
- Defines the table in the data schema the calculated field must be located in.
- DataType
- Defines the type of data in the new calculated field.
- DisplayName
- Defines the name of the new hierarchy. The calculated field is given the same name.
Return Value
Returns the newly created hierarchy.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