다음을 통해 공유


NewCatalogRelationship Method

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

Creates a new CatalogRelationships with the same schema as CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function NewCatalogRelationship As CatalogRelationshipsDataSet..::.CatalogRelationship
'Usage
Dim instance As CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable
Dim returnValue As CatalogRelationshipsDataSet..::.CatalogRelationship

returnValue = instance.NewCatalogRelationship()
public CatalogRelationshipsDataSet..::.CatalogRelationship NewCatalogRelationship()
public:
CatalogRelationshipsDataSet..::.CatalogRelationship^ NewCatalogRelationship()
public function NewCatalogRelationship() : CatalogRelationshipsDataSet..::.CatalogRelationship

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogRelationshipsDataSet..::.CatalogRelationship
A CatalogRelationshipsDataSet..::.CatalogRelationship.

Remarks

The returned CatalogRelationship contains a DisplayName, ListPrice, CatalogClasTypes, Rank, RelationshipsDescription, RelationshipName, TargetCatalogName, TargetCategoryName, and TargetProductId.

Permissions

See Also

Reference

CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable Class

CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable Members

Microsoft.CommerceServer.Catalog Namespace