GetNewName Método
Assists in creating new consecutive numbered names that start with namePrefix.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function GetNewName ( _
namePrefix As String _
) As String
'Uso
Dim instance As AttributeRelationshipCollection
Dim namePrefix As String
Dim returnValue As String
returnValue = instance.GetNewName(namePrefix)
public string GetNewName(
string namePrefix
)
public:
String^ GetNewName(
String^ namePrefix
)
member GetNewName :
namePrefix:string -> string
public function GetNewName(
namePrefix : String
) : String
Parámetros
- namePrefix
Tipo: System. . :: . .String
A string with the prefix for the numbered names.
Valor devuelto
Tipo: System. . :: . .String
A System.String with the new name.
Comentarios
GetNewName will first return namePrefix, if it hasn't been used. Otherwise, it will return namePrefix1, namePrefix2, and so on.
Vea también