Compartilhar via


Propriedade do RDL Caption

Gets the caption of the LevelProperty.

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

Sintaxe

'Declaração
Public ReadOnly Property Caption As String
    Get
'Uso
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

Valor da propriedade

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

Comentários

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.