次の方法で共有


IOrganizationServiceAsync.AssociateAsync Method

Definition

Associate an entity with a set of entities.

[System.ServiceModel.OperationContract]
public System.Threading.Tasks.Task AssociateAsync (string entityName, Guid entityId, Microsoft.Xrm.Sdk.Relationship relationship, Microsoft.Xrm.Sdk.EntityReferenceCollection relatedEntities);
[<System.ServiceModel.OperationContract>]
abstract member AssociateAsync : string * Guid * Microsoft.Xrm.Sdk.Relationship * Microsoft.Xrm.Sdk.EntityReferenceCollection -> System.Threading.Tasks.Task
Public Function AssociateAsync (entityName As String, entityId As Guid, relationship As Relationship, relatedEntities As EntityReferenceCollection) As Task

Parameters

entityName
String
entityId
Guid
relationship
Relationship
relatedEntities
EntityReferenceCollection

Returns

Attributes

Applies to