Partager via


AttributeRelationshipCollection.GetNewName Method

Assists in creating new consecutive numbered names that start with namePrefix.

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

Syntaxe

'Déclaration
Public Function GetNewName ( _
    namePrefix As String _
) As String
public string GetNewName (
    string namePrefix
)
public:
String^ GetNewName (
    String^ namePrefix
)
public String GetNewName (
    String namePrefix
)
public function GetNewName (
    namePrefix : String
) : String

Paramètres

  • namePrefix
    A string with the prefix for the numbered names.

Valeur de retour

A System.String with the new name.

Notes

GetNewName will first return namePrefix, if it hasn't been used. Otherwise, it will return namePrefix1, namePrefix2, and so on.

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

AttributeRelationshipCollection Class
AttributeRelationshipCollection Members
Microsoft.AnalysisServices Namespace