AttributeRelationshipCollection.Add Method (String)

 

Updated: May 24, 2016

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

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public AttributeRelationship Add(
	string attributeId
)

Parameters

attributeId
Type: System.String

Identifies the AttributeRelationship to be added.

Return Value

Type: Microsoft.AnalysisServices.AttributeRelationship

The AttributeRelationship that was added to the collection.

Exception Condition
ArgumentNullException

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

Return to top
Show: