Share via


Hierarchy.Caption Property

Gets the caption of the Hierarchy.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public ReadOnly Property Caption As String
    Get
'Usage
Dim instance As Hierarchy
Dim value As String

value = instance.Caption
public string Caption { get; }
public:
property String^ Caption {
    String^ get ();
}
member Caption : string
function get Caption () : String

Property Value

Type: System.String
A String that contains the caption of the Hierarchy.

Remarks

The Caption property should be used when displaying the name of the Hierarchy to the user, such as in the user interface or reports.