AttributeRelationshipCollection.GetNewName Method (String)


Updated: May 24, 2016

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

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public string GetNewName(
	string namePrefix


Type: System.String

A string with the prefix for the numbered names.

Return Value

Type: System.String

A System.String with the new name.

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

Return to top