Share via


NamedComponentCollection.GetNewName Method (String)

 

Applies To: SQL Server (starting with 2016)

Gets a unique new name for the component with the specified name prefix.

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

Syntax

public string GetNewName(
    string namePrefix
)
public:
virtual String^ GetNewName(
    String^ namePrefix
) sealed
abstract GetNewName : 
        namePrefix:string -> string
override GetNewName : 
        namePrefix:string -> string
Public Function GetNewName (
    namePrefix As String
) As String

Parameters

Return Value

Type: System.String

A unique new name for the component with the specified name prefix.

Implements

INamedComponentCollection.GetNewName(String)

See Also

GetNewName Overload
NamedComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top