ICatalogManager::get_Catalogs

Ee811435.c++_off(en-US,CS.10).gifEe811435.vb_on(en-US,CS.10).gif

The Catalogs property is a read-only recordset that describes all the catalogs in the Product Catalog System. The returned recordset includes the properties of each catalog.

Definition

HRESULT ICatalogManager::get_Catalogs(_Recordset**Catalogs);

Parameters

Catalogs

[out, retval] A pointer to a _Recordset object used to return the catalogs.

Return Values

This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.

Error Values

This method returns S_OK (0x00000000) to indicate success and either standard or custom COM HRESULT 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
OLE_E_BLANK 0x80040007 The object was not initialized. The Initialize method must be called before calling any other method.

Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.

Remarks

The Catalogs parameter contains valid data only if the property was accessed successfully.

The returned recordset contains the following fields:

Field Name Data-Type Description
CatalogName String
128 Characters
None
Locale Integer None
StartDate DateTime None
EndDate DateTime None
VariantID String
128 Characters
The name of the property that uniquely identifies a product variant.
ProductID String
128 Characters
The name of the property that uniquely identifies a product.
Currency String
128 Characters
None
WeightMeasure String
128 Characters
None
TimeStamp Timestamp None
CatalogID Integer The number that uniquely identifies a catalog.
CustomCatalog Bit A flag indicating whether this is 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.

See Also

CatalogManager Object

ICatalogManager::CreateCatalog

ICatalogManager::DeleteCatalog


All rights reserved.