Export (0) Print
Expand All

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:
© 2014 Microsoft