ProductCatalog.RootProducts
The RootProducts property is a read-only recordset that contains the products that exist at the root level of a catalog.
Definition
Property RootProducts() As _Recordset
Parameters
None.
Error Values
This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.
Remarks
Any product that is not contained within a category is considered to be a root product.
The Recordset object returned by this method will contain all of the corresponding fields. For more information about these fields, see CatalogProduct Recordset.
Products added by importing a comma-separated value (CSV) file will be root products.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.
Example
SET rsRootProducts = myProductCatalog.RootProducts