다음을 통해 공유


AttributeRelationshipCollection.Add 메서드 (String)

Creates and adds the AttributeRelationship, which is defined by attributeID, to the end of the collection.

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

구문

‘선언
Public Function Add ( _
    attributeId As String _
) As AttributeRelationship
‘사용 방법
Dim instance As AttributeRelationshipCollection 
Dim attributeId As String 
Dim returnValue As AttributeRelationship 

returnValue = instance.Add(attributeId)
public AttributeRelationship Add(
    string attributeId
)
public:
AttributeRelationship^ Add(
    String^ attributeId
)
member Add : 
        attributeId:string -> AttributeRelationship
public function Add(
    attributeId : String
) : AttributeRelationship

매개 변수

반환 값

유형: Microsoft.AnalysisServices.AttributeRelationship
The AttributeRelationship that was added to the collection.

예외

예외 조건
ArgumentNullException

attributeId is a null reference (Nothing in Visual Basic).

참고 항목

참조

AttributeRelationshipCollection 클래스

Add 오버로드

Microsoft.AnalysisServices 네임스페이스