共用方式為


RelationshipCollection.Insert 方法

定義

多載

Insert(Int32, Relationship)

將 Relationship 插入此集合中指定的索引位置。

Insert(Int32, String)

建立新的 Relationship,將它插入指定索引位置,然後傳回此新 Relationship。

Insert(Int32, Relationship)

將 Relationship 插入此集合中指定的索引位置。

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)

參數

index
Int32

以零為基底的索引,這是插入 Relationship 之處。

item
Relationship

要插入此集合中的 Relationship。

適用於

Insert(Int32, String)

建立新的 Relationship,將它插入指定索引位置,然後傳回此新 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

參數

index
Int32

以零為基底的索引,這是插入新 Relationship 之處。

id
String

新 Relationship 的識別碼 (在此集合中必須為唯一)。

傳回

新建立的 Relationship。

適用於