AttributeRelationshipCollection.GetNewName 메서드

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

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

구문

‘선언
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

매개 변수

  • namePrefix
    유형: System.String
    A string with the prefix for the numbered names.

반환 값

유형: 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.

참고 항목

참조

AttributeRelationshipCollection 클래스

Microsoft.AnalysisServices 네임스페이스