ProductCatalog.SearchableCategories
The SearchableCategories property is a read-only recordset that contains the names of all searchable categories.
Definition
Property SearchableCategories() 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
The SearchableCategories property returns the names of all the categories in this catalog that can be queried using a specification search. Whether or not a particular category is specification searchable is determined by the value of the IsSearchable attribute. This property can be set at the time the category is created, or can be changed at any time using the SetCategoryProperties methods of the category object.
The Recordset object returned by this property will contain a single 128-character field called Name. Each row will contain the name of a searchable category.
If there are no searchable categories, a recordset with its EOF property set to VARIANT_TRUE will be returned.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.