CatalogManager.Properties

Ee825183.c++_on(en-US,CS.10).gifEe825183.vb_off(en-US,CS.10).gif

The Properties property is a read-only recordset that returns the name of each property that currently exists in the Product Catalog System. If the catalog name is specified, only properties used in that catalog are returned.

Definition

Function Properties(Optional strCatalogName As Variant) As _Recordset

Parameters

strCatalogName

A Variant that contains the name of the catalog for which the properties are returned. If this optional parameter is omitted, all properties are returned.

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 Recordset object contains valid data only if the property was accessed successfully.

This method returns a Recordset object containing a row for each property returned. For more information about the fields in this Recordset object, see PropertyAttribute Recordset.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

Example

Set rsProps = myCatalogManager.Properties ("ShoesCatalog")

See Also

CatalogManager Object

CatalogManager.CreateProperty

CatalogManager.DeleteProperty


All rights reserved.