RelationshipCollection.Insert Method (Int32, Relationship)
Inserts a relationship into the collection at the specified index.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
item As Relationship _
)
'Usage
Dim instance As RelationshipCollection
Dim index As Integer
Dim item As Relationship
instance.Insert(index, item)
public void Insert(
int index,
Relationship item
)
public:
void Insert(
int index,
Relationship^ item
)
member Insert :
index:int *
item:Relationship -> unit
public function Insert(
index : int,
item : Relationship
)
Parameters
- index
Type: System.Int32
The zero-based index at which to insert the new Relationship.
- item
Type: Microsoft.AnalysisServices.Relationship
The relationship to insert.