Share via


AddRelationshipToCategory Method

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

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

Overload List

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

Top

Remarks

You can use this method to add relationships to other categories. The categories 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