Share via


RelationshipCollection.Add Method (Relationship)

Adds a Relationship to the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Relationship _
) As Integer
'Usage
Dim instance As RelationshipCollection 
Dim item As Relationship 
Dim returnValue As Integer 

returnValue = instance.Add(item)
public int Add(
    Relationship item
)
public:
int Add(
    Relationship^ item
)
member Add : 
        item:Relationship -> int
public function Add(
    item : Relationship
) : int

Parameters

Return Value

Type: System.Int32
The relationship that was added.

See Also

Reference

RelationshipCollection Class

Add Overload

Microsoft.AnalysisServices Namespace