次の方法で共有


OrganizationServiceContext.AttachLink メソッド

適用対象: CRM 2015 on-prem, CRM Online

Notifies the OrganizationServiceContext to start tracking the specified link that defines a relationship between entity objects.

名前空間: Microsoft.Xrm.Sdk.Client
アセンブリ: Microsoft.Xrm.Sdk (Microsoft.Xrm.Sdk.dll に含まれる)

構文

'宣言
Public Sub AttachLink ( _
    source As Entity, _
    relationship As Relationship, _
    target As Entity _
)
public void AttachLink (
    Entity source,
    Relationship relationship,
    Entity target
)

パラメーター

  • source
    Type: Entity. The source entity in the new link.
  • relationship
    Type: Relationship. The name of the attribute or navigation property on the source object that represents the link between the source and target object.
  • target
    Type: Entity. The target entity in the link that is bound to the source entity specified in this call.

スレッド セーフ

この種類のパブリックな静的 (Visual Basic では Shared) メンバーはスレッド セーフです。インスタンス メンバーがスレッド セーフであることは保証されません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

関連項目

参照

OrganizationServiceContext クラス
OrganizationServiceContext のメンバー
Microsoft.Xrm.Sdk.Client 名前空間

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.