CRMProduct Class
The CRMProduct class contains methods that you can use to manage products.
There are no properties for this class.
For more information about using XML, see XML Document Object Model.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
CRMProduct
[Visual Basic .NET]
Public Class CRMProduct
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMProduct : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMProduct: public System.Web.Services.Protocols.SoapHttpClientProtocol
The CRMProduct class exposes the following methods.
Method | Description |
Activate | Sets the state of a product to Active |
AddSubstitute | Establishes an association between a product and a substitute product. |
AddToKit | Adds a product to a kit. |
ConvertToKit | Converts a product to a kit. |
ConvertToProduct | Converts a kit to a product. |
Create | Creates a new product. |
CreateAndRetrieve | Creates a product and then retrieves it. |
Deactivate | Sets the state of a product to Inactive. |
Delete | Deletes a product. |
RemoveAssociation | Eliminates the association between a product and the specified object (lead or competitor). |
RemoveFromKit | Removes a product from a kit. |
RemoveSubstitute | Eliminates the association between a product and a substitute product. |
Retrieve | Retrieves a product. |
RetrieveByObject | Retrieves all products that are associated with an object (lead, competitor, or opportunity). |
RetrieveByOrganization | Retrieves all the products that are associated with an organization. |
RetrieveKitProducts | Retrieves all of the products in a kit. |
RetrieveSubstitutes | Retrieves all of the products that are substitutes for the specified product. |
SetAssociation | Establishes an association between a product and the specified object (lead or competitor). |
Update | Updates a product. |
UpdateAndRetrieve | Updates a product and then retrieves it. |
Requirements
Namespace: Microsoft.CRM.Proxy
Assembly: microsoft.crm.proxy.dll
See Also