ProductCatalog.GetCatalogAttributes
Use this method to retrieve the attributes of this catalog. The returned recordset is disconnected and updateable.
Definition
Function GetCatalogAttributes() As _Recordset
Parameters
None.
Return Values
If this method completes successfully, it returns a recordset that contains the attributes of this catalog.
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 returned recordset is disconnected and updateable. The following table shows the fields that the returned recordset contains.
Field | Data Type | Description |
CatalogName | String 128 characters |
The name of the catalog. |
Locale | Integer | None. |
StartDate | Datetime | None. |
End Date | Datetime | None. |
VariantID | String 128 characters |
The field name that uniquely identifies variants. |
ProductID | String 128 characters |
The field name that uniquely identifies products. |
Currency | String 128 characters |
None. |
WeightMeasure | String 128 characters |
None. |
TimeStamp | Timestamp | None. |
CatalogID | Integer | None. |
CustomCatalog | Boolean | A flag indicating whether this is a custom catalog. True indicates a custom catalog. |
FreeTextIndexCreated | Datetime | None. |
ProductTableUpdated | Datetime | None. |
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.
Example
SET rsMyCatAttribs = myProductCatalog.GetCatalogAttributes
See Also
ProductCatalog.GetCustomCatalogAttributes