Udostępnij za pośrednictwem


GetUniqueIdentifierProperties Method

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

Get the list of valid properties for use as Product and Variant identifying properties in new base catalogs.

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

Syntax

'Declaration
Public Function GetUniqueIdentifierProperties As CatalogPropertyCollection
'Usage
Dim instance As CatalogContext
Dim returnValue As CatalogPropertyCollection

returnValue = instance.GetUniqueIdentifierProperties()
public CatalogPropertyCollection GetUniqueIdentifierProperties()
public:
CatalogPropertyCollection^ GetUniqueIdentifierProperties()
public function GetUniqueIdentifierProperties() : CatalogPropertyCollection

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogPropertyCollection
A CatalogPropertyCollection containing the list of valid unique identifier properties.

Remarks

Products are identified by ProductId and VariantId. Obtaining this collection will enable you to iterate through all of the products in the catalog.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace