AttributeRelationshipCollection.Add Method (AttributeRelationship)
Adds the specified AttributeRelationship to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As AttributeRelationship _
) As Integer
'Usage
Dim instance As AttributeRelationshipCollection
Dim item As AttributeRelationship
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
AttributeRelationship item
)
public:
int Add(
AttributeRelationship^ item
)
member Add :
item:AttributeRelationship -> int
public function Add(
item : AttributeRelationship
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.AttributeRelationship
Specifies the AttributeRelationship to be added.
Return Value
Type: System.Int32
The zero-based index where the AttributeRelationship was added.