CatalogSets2.UpdateCatalogSet Method (PIA)
Use this method to update an existing catalog set and its basic properties.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Catalog
Imports ADODB26Lib ‘ for _Recordset
…
Public Sub UpdateCatalogSet(
CatalogSetID As String,
CatalogSetName As String,
CatalogSetDescription As String,
bWildCard As Boolean,
Optional CatalogNamesRS As _Recordset)
[C#]
using Microsoft.CommerceServer.Interop.Catalog;
using ADODB26Lib; //For _Recordset
…
public void UpdateCatalogSet(stringCatalogSetID,
stringCatalogSetName,
stringCatalogSetDescription,
boolbWildCard,
_RecordsetCatalogNamesRS);
Parameters
[Visual Basic .NET]
- 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 CatalogNamesRS parameter. - CatalogNamesRS
The _Recordset interface of a Recordset object that contains the catalog names.
[C#]
- 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 bool 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 CatalogNamesRS parameter. - CatalogNamesRS
An ADODB26Lib._Recordset interface to the Recordset object that contains the catalog names. If bWildCard is false, this parameter is ignored and can be set to Type.Missing.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: cs_ctlgsets (in cs_ctlgsets.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.