Partager via


AttributeTranslationCollection.Add Method (Int32, String)

Creates and adds an AttributeTranslation, with the specified language and caption, to the end of the collection.

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    language As Integer, _
    caption As String _
) As AttributeTranslation
public AttributeTranslation Add (
    int language,
    string caption
)
public:
AttributeTranslation^ Add (
    int language, 
    String^ caption
)
public AttributeTranslation Add (
    int language, 
    String caption
)
public function Add (
    language : int, 
    caption : String
) : AttributeTranslation

Paramètres

  • caption
    The caption of the AttributeTranslation to be added.

Valeur de retour

A new, empty AttributeTranslation.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AttributeTranslationCollection Class
AttributeTranslationCollection Members
Microsoft.AnalysisServices Namespace