AttributeRelationshipCollection.GetNewName Method (String)

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

public string GetNewName(
    string namePrefix
)
public:
String^ GetNewName(
    String^ namePrefix
)
member GetNewName : 
        namePrefix:string -> string
Public Function GetNewName (
    namePrefix As String
) As String

Parameters

  • 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.

Remarks

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

See Also

AttributeRelationshipCollection Class
Microsoft.AnalysisServices Namespace

Return to top