다음을 통해 공유


Add 메서드 (String)

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

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

구문

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