OrganizationServiceContextExtensions.DisassociateEntities Method (OrganizationServiceContext, EntityReference, EntityReference, String)
Applies To: Dynamics CRM 2015
Deprecated. Removes a link between two records in a many to many relationship. Use Disassociate. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void DisassociateEntities(
this OrganizationServiceContext context,
EntityReference moniker1,
EntityReference moniker2,
string relationshipName
)
public:
[ExtensionAttribute]
static void DisassociateEntities(
OrganizationServiceContext^ context,
EntityReference^ moniker1,
EntityReference^ moniker2,
String^ relationshipName
)
static member DisassociateEntities :
context:OrganizationServiceContext *
moniker1:EntityReference *
moniker2:EntityReference *
relationshipName:string -> unit
<ExtensionAttribute>
Public Shared Sub DisassociateEntities (
context As OrganizationServiceContext,
moniker1 As EntityReference,
moniker2 As EntityReference,
relationshipName As String
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- moniker1
Type: Microsoft.Xrm.Sdk.EntityReference
- moniker2
Type: Microsoft.Xrm.Sdk.EntityReference
- relationshipName
Type: System.String
Remarks
This is a method wrapper for the DisassociateEntitiesRequest and DisassociateEntitiesResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright