RelationshipCollection.Insert 方法 (Int32, String)

Inserts a relationship with the specified identifier, into the collection at the specified index.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Function Insert ( _
    index As Integer, _
    id As String _
) As Relationship
用法
Dim instance As RelationshipCollection 
Dim index As Integer 
Dim id As String 
Dim returnValue As Relationship 

returnValue = instance.Insert(index, id)
public Relationship Insert(
    int index,
    string id
)
public:
Relationship^ Insert(
    int index, 
    String^ id
)
member Insert : 
        index:int * 
        id:string -> Relationship
public function Insert(
    index : int, 
    id : String
) : Relationship

参数

  • id
    类型:System.String
    The identifier of the relationship to insert.

返回值

类型:Microsoft.AnalysisServices.Relationship
The inserted relationship.

请参阅

参考

RelationshipCollection 类

Insert 重载

Microsoft.AnalysisServices 命名空间