Partager via


TranslationCollection.Add Method (Int32, String)

Creates and adds a Translation, 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 Translation
public Translation Add (
    int language,
    string caption
)
public:
Translation^ Add (
    int language, 
    String^ caption
)
public Translation Add (
    int language, 
    String caption
)
public function Add (
    language : int, 
    caption : String
) : Translation

Paramètres

  • language
    The language of the Translation to be added.
  • caption
    The caption of the Translation to be added.

Valeur de retour

A new, empty Translation.

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

TranslationCollection Class
TranslationCollection Members
Microsoft.AnalysisServices Namespace