INamedComponentCollection.GetNewName Method (String)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

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

Syntax

'Declaration
Function GetNewName ( _
    prefix As String _
) As String
'Usage
Dim instance As INamedComponentCollection 
Dim prefix As String 
Dim returnValue As String 

returnValue = instance.GetNewName(prefix)
string GetNewName(
    string prefix
)
String^ GetNewName(
    String^ prefix
)
abstract GetNewName : 
        prefix:string -> string
function GetNewName(
    prefix : String
) : String

Parameters

Return Value

Type: System.String
A String with the new name.

See Also

Reference

INamedComponentCollection Interface

GetNewName Overload

Microsoft.AnalysisServices Namespace