Partager via


AddRelationshipToProduct Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Adds a relationship from this category item to a specified product.

Overload List

  Name Description
ms986717.pubmethod(en-US,CS.70).gif AddRelationshipToProduct(String, String, String, String) Adds a relationship to the target product in the target catalog.
ms986717.pubmethod(en-US,CS.70).gif AddRelationshipToProduct(String, String, String, String, Int32) Adds a relationship to the target product in the target catalog, with a rank.

Top

Remarks

You can use this method to add relationships to other products. The products can be in the same catalog as the current catalog or in another catalog in the catalog system.

See Also

Reference

CatalogItem Class

CatalogItem Members

Microsoft.CommerceServer.Catalog Namespace