Partager via


Propriété LevelProperty.Caption

Gets the caption of the LevelProperty.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Caption As String 
    Get
'Utilisation
Dim instance As LevelProperty 
Dim value As String 

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

Valeur de propriété

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

Notes

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

This property differs from the property of the object in that the value of the property can depend on the locale ID of the application using ADOMD.NET.

In Microsoft SQL Server 2005 Analysis Services (SSAS), each dimension attribute can be associated with a translation that returns a language-specific value for the property, depending on the locale ID of the application querying the server. The server searches for a locale ID that matches that of the requesting application. If an exact match cannot be found for a given language, the language closest to the specified locale ID is used. If a similar language cannot be found, the default language for the server is used.

The value of this property is identical to the value of the PROPERTY_CAPTION column of the PROPERTIES schema rowset for the specified level.

Voir aussi

Référence

LevelProperty Classe

Espace de noms Microsoft.AnalysisServices.AdomdClient