다음을 통해 공유


GetNewName 메서드

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

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices

구문

‘선언
Public Function GetNewName ( _
    namePrefix As String _
) As String
‘사용 방법
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

매개 변수

반환 값

형식: System. . :: . .String
A System.String with the new name.

주의

GetNewName will first return namePrefix, if it hasn't been used. Otherwise, it will return namePrefix1, namePrefix2, and so on.