Share via


RelationshipCollection.Insert Méthode

Définition

Surcharges

Insert(Int32, Relationship)

Insère un objet Relationship dans la collection à l’index spécifié.

Insert(Int32, String)

Crée, insère à l’index spécifié et retourne un nouvel objet Relationship.

Insert(Int32, Relationship)

Insère un objet Relationship dans la collection à l’index spécifié.

public void Insert (int index, Microsoft.AnalysisServices.Relationship item);
override this.Insert : int * Microsoft.AnalysisServices.Relationship -> unit
Public Sub Insert (index As Integer, item As Relationship)

Paramètres

index
Int32

Index de base zéro dans lequel l’objet Relationship est inséré.

item
Relationship

Relationship à insérer dans cette collection.

S’applique à

Insert(Int32, String)

Crée, insère à l’index spécifié et retourne un nouvel objet Relationship.

public Microsoft.AnalysisServices.Relationship Insert (int index, string id);
override this.Insert : int * string -> Microsoft.AnalysisServices.Relationship
Public Function Insert (index As Integer, id As String) As Relationship

Paramètres

index
Int32

Index de base zéro dans lequel le nouvel objet Relationship est inséré.

id
String

ID du nouvel objet Relationship (doit être unique dans cette collection).

Retours

Relationship nouvellement créé.

S’applique à