ProductCatalog.GetCustomCatalogAttributes
Use this method to retrieve the attributes for a specified custom catalog.
Definition
Function GetCustomCatalogAttributes(strCCName As String) As _Recordset
Parameters
strCCName
A String that contains the name of the custom catalog.
Return Values
If this method completes successfully, it returns a recordset that contains the custom catalog attributes.
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 following table shows the fields that the returned single-row recordset contains.
Field | Data Type | Description |
CustomCatalogName | String Maximum of 128 unicode characters |
The name of the custom catalog. |
CatalogName | String Maximum of128 unicode characters |
The name of the base catalog. |
CustomCatalogID | Integer | The field name that uniquely identifies custom catalogs. |
TimeStamp | Timestamp | None. |
The returned recordset is disconnected and updateable. The CustomCatalogName parameter is the only field that can be modified.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.
Example
SET rsMyCustomCatAttribs = myProductCatalog.GetCustomCatalogAttributes("SeniorDiscountCatalog")
See Also
ProductCatalog.CreateCustomCatalog