Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetNewName Method

AttributeRelationshipCollection.GetNewName Method

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
)

Parameters

namePrefix
Type: String
A string with the prefix for the numbered names.

Return Value

Type: 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.

Community Additions

ADD
Show:
© 2015 Microsoft