Поделиться через


DependentCatalogs Property

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

Gets a CatalogsDataSet containing all the dependent catalogs for this catalog.

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

Syntax

'Declaration
Public ReadOnly Property DependentCatalogs As ProductCatalogCollection
'Usage
Dim instance As ProductCatalog
Dim value As ProductCatalogCollection

value = instance.DependentCatalogs
public ProductCatalogCollection DependentCatalogs { get; }
public:
property ProductCatalogCollection^ DependentCatalogs {
    ProductCatalogCollection^ get ();
}
public function get DependentCatalogs () : ProductCatalogCollection

Property Value

Type: Microsoft.CommerceServer.Catalog..::.ProductCatalogCollection
A CatalogsDataSet containing all the dependent catalogs for this catalog.

Remarks

For a BaseCatalog this method will return all the dependent virtual catalogs. A virtual catalog is considered dependent on the base catalog if the virtual catalog contains a virtual catalog rule or a price rule referencing the base catalog. This property returns a CatalogsDataSet which contains one row for each dependent virtual catalog. If the base catalog is not referenced in any virtual catalog then this dataset will not contain any rows. For a VirtualCatalog this method will return all the base catalogs included in the virtual catalog by inclusion, exclusion or pricing rules. This property returns a CatalogsDataSet which contains one row for each included base catalog. If the virtual catalog does not have any base catalogs then this dataset will not contain any rows. This dataset is read only and cannot be changed.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

Microsoft.CommerceServer.Catalog Namespace