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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable Class
CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable Members