OrganizationServiceContextExtensions.RemoveSubstituteProduct Method (OrganizationServiceContext, Guid, Guid)
Applies To: Dynamics CRM 2013
Deprecated. Removes the association between a product and a substitute product. Use Disassociate. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void RemoveSubstituteProduct(
this OrganizationServiceContext context,
Guid productId,
Guid substituteId
)
public:
[ExtensionAttribute]
static void RemoveSubstituteProduct(
OrganizationServiceContext^ context,
Guid productId,
Guid substituteId
)
static member RemoveSubstituteProduct :
context:OrganizationServiceContext *
productId:Guid *
substituteId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub RemoveSubstituteProduct (
context As OrganizationServiceContext,
productId As Guid,
substituteId As Guid
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- productId
Type: System.Guid
- substituteId
Type: System.Guid
Remarks
This is a method wrapper for the RemoveSubstituteProductRequest and RemoveSubstituteProductResponse 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 2013
Return to top