Condividi tramite


AttributeRelationshipCollection.GetNewName Method

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

Spazio dei nomi: Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintassi

'Dichiarazione
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

Parametri

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

Valore restituito

A System.String with the new name.

Osservazioni

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

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AttributeRelationshipCollection Class
AttributeRelationshipCollection Members
Microsoft.AnalysisServices Namespace