Category.GetCategoryProperties
The GetCategoryProperties property is a read-only recordset that contains the properties for this category. Both the properties that are present in the definition of this category, and the built-in properties, are returned.
Definition
Property GetCategoryProperties() 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 either standard or custom COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors.
The following table shows the custom COM errors that this method can return.
Constant | Value | Description |
E_CAT_CATEGORY_DOESNT_EXIST | &H8898001C | This category has been removed from the catalog. |
Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.
Remarks
The GetCategoryProperties property contains valid data only if the property is accessed successfully.
The returned recordset contains all the common fields in the CatalogProduct Recordset. It also contains all the fields that are in the product definitions for the category. The ProductID field (the unique product identifier) is returned even if it is not part of a product definition.
The recordset returned is updateable, but disconnected. If this category has been deleted from the database, this property returns an error.