OrganizationServiceContextExtensions.RemoveParent Method (OrganizationServiceContext, EntityReference)
Applies To: Dynamics CRM 2015
Removes the parent for a record. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void RemoveParent(
this OrganizationServiceContext context,
EntityReference target
)
public:
[ExtensionAttribute]
static void RemoveParent(
OrganizationServiceContext^ context,
EntityReference^ target
)
static member RemoveParent :
context:OrganizationServiceContext *
target:EntityReference -> unit
<ExtensionAttribute>
Public Shared Sub RemoveParent (
context As OrganizationServiceContext,
target As EntityReference
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- target
Type: Microsoft.Xrm.Sdk.EntityReference
Remarks
This is a method wrapper for the RemoveParentRequest and RemoveParentResponse 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