OrganizationServiceProxyAssociate Method
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Creates a link between records.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Parameters
- entityName
-
Type:
Type: String. The logical name of the entity specified in the entityId parameter.
- entityId
-
Type:
Type: Guid. The ID of the record to which the related records will be associated.
- relationship
-
Type:
Type: Relationship. The name of the relationship to be used to create the link.
- relatedEntities
-
Type:
Type: EntityReferenceCollection. A collection of entity references (references to records) to be associated.
Implements
IOrganizationServiceAssociateThe core implementation of the Associate method. For more information, see IOrganizationService.Associate.
For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle exceptions in your code.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright