Share via


CatalogSets.UpdateCatalogSet

Ee824017.c++_on(en-US,CS.10).gifEe824017.vb_off(en-US,CS.10).gif

Use this method to update an existing catalog set and its basic properties.

Definition

Sub UpdateCatalogSet(CatalogSetID As String,CatalogSetName As String,CatalogSetDescription As String,bWildCard As Boolean,Optional CatalogNamesRS As Recordset)

Parameters

CatalogSetID

A String that contains the catalog set ID (GUID).

CatalogSetName

A String that contains the catalog set name. The maximum length is 128 characters.

CatalogSetDescription

A String that contains the catalog set description.

bWildCard

A Boolean that indicates which catalogs to use. A value of True indicates use all catalogs. A value of False indicates use the catalogs contained in the CatalogNameRS parameter.

CatalogNamesRS

A Recordset object that contains the catalog names.

Return Values

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

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

Example

'strCatalogSetID is the GUID for the CatalogSet.
'rsCatalogNames is a Recordset as described in the parameter description.

myCatalogSets.UpdateCatalogSet strCatalogSetID, "Clothing", "All soft goods", FALSE, rsCatalogNames

See Also

CatalogSets Object


All rights reserved.