Product3 Class (PIA)
Use this object to work with products and variants in a catalog.
Methods
Method | Description |
---|---|
AddRelationshipToCategory | Adds a relationship to a specified category from this product. |
AddRelationshipToProduct | Adds a relationship to another specified product from this product. |
CreateVariant | Creates a new product variant. |
DeleteVariant | Deletes a product variant. |
GetVariantProperties | Returns the properties of a specified product variant. |
RemoveRelationshipToCategory | Removes the specified relationship between this product and the specified category. |
RemoveRelationshipToProduct | Removes the specified relationship between this product and the specified product. |
SetRelatedCategories | Updates category relationships. |
SetRelatedProducts | Updates product relationships. |
SetProductProperties | Sets the properties for this product and all its variants. |
SetVariantProperties | Sets the properties for variants of this product. |
Properties
Property | Type | Description |
---|---|---|
AncestorCategories | ADODB26Lib._Recordset | Contains a recordset of category names that exist anywhere above this product, and that directly or indirectly contain this product in the hierarchy.
This property is read-only. |
CatalogName | String | Contains the name of the catalog of which this Product object is a member.
This property is read-only. |
GetProductProperties | ADODB26Lib._Recordset | Contains a recordset containing the property values for this product.
This property is read-only. |
ParentCategories | ADODB26Lib._Recordset | Contains a recordset of categories that directly contain this product.
This property is read-only. |
PricingCategory | String | Contains the name of the pricing category for this product.
This property is read/write. |
PrimaryParent | BSTR | Contains the name of the primary parent category for this product.
This property is read/write. |
ProductID | String | Contains the unique identifier for this product.
This property is read-only. |
RelatedCategories | ADODB26Lib._Recordset | Contains a recordset that describes all of the categories that are related to this product.
This property is read-only. |
RelatedProducts | ADODB26Lib._Recordset | Contains a recordset that describes all of the products that are related to this product.
This property is read-only. |
UseCategoryPricing | VARIANT_BOOL | Indicates whether the price is derived from the PrimaryParentCategory field.
This property is read/write. |
Variants | ADODB26Lib._Recordset | Contains a recordset that describes all of the variants of this product, if any.
This property is read-only. |
Remarks
The Product object is a dependent object. Obtain a pointer to the IProduct interface by calling one of the following methods:
Requirements
Namespace: Microsoft.CommerceServer.Interop.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: Cataloglib (in Cataloglib.dll)
Copyright © 2005 Microsoft Corporation.
All rights reserved.