NamedComponentCollection.GetNewName Method (String)

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

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

Syntax

'Declaration
Public Function GetNewName ( _
    namePrefix As String _
) As String
'Usage
Dim instance As NamedComponentCollection 
Dim namePrefix As String 
Dim returnValue As String 

returnValue = instance.GetNewName(namePrefix)
public string GetNewName(
    string namePrefix
)
public:
virtual String^ GetNewName(
    String^ namePrefix
) sealed
abstract GetNewName : 
        namePrefix:string -> string  
override GetNewName : 
        namePrefix:string -> string
public final function GetNewName(
    namePrefix : String
) : 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

Reference

NamedComponentCollection Class

GetNewName Overload

Microsoft.AnalysisServices Namespace