Partager via


Méthode INamedComponentCollection.GetNewName (String)

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Function GetNewName ( _
    prefix As String _
) As String
'Utilisation
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

Paramètres

  • prefix
    Type : System.String
    The prefix for the numbered names.

Valeur de retour

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

Voir aussi

Référence

INamedComponentCollection Interface

Surcharge GetNewName

Espace de noms Microsoft.AnalysisServices