Product.RelatedCategories

Ee797913.c++_on(en-US,CS.10).gifEe797913.vb_off(en-US,CS.10).gif

The RelatedCategories property is a read-only Recordset object that contains the names of categories that are related to this product.

Definition

Property RelatedCategories As _Recordset

Parameters

None.

Error Values

This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

Remarks

The RelatedCategories property contains valid data only if it was accessed successfully.

The returned recordset contains one row for each relationship present.

The returned recordset contains the following fields:

Field Data Type Description
CategoryName String
Maximum of 128 characters
Name of the category.
RelationshipName String
Maximum of 128 characters
Name of the relationship.
RelationshipDescription String
Maximum of 256 characters
Description of the relationship.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

See Also

Product Object

Product.RelatedProducts

Product.AddRelationshipToCategory


All rights reserved.