Dela via


AttributeRelationshipCollection.GetNewName Method

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

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

Syntax

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

Parameters

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

Return Value

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.

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AttributeRelationshipCollection Class
AttributeRelationshipCollection Members
Microsoft.AnalysisServices Namespace