Share via


CatalogSets.Initialize Method (PIA)

Use this method to initialize a new CatalogSet object.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Catalog
…
Public Sub Initialize(CatalogConnectionString As String,
  TransactionConfigConnectionString As String)

[C#]

using Microsoft.CommerceServer.Interop.Catalog;
…
public void Initialize(stringCatalogConnectionString,
  stringTxConfigConnString);

Parameters

[Visual Basic .NET]

  • CatalogConnectionString
    A String that contains the catalog connection string.

    TransactionConfigConnectionStringA String that contains the transaction configuration connection string. Not used.

[C#]

  • CatalogConnectionString
    A string that contains the catalog connection string.
  • TxConfigConnString
    A string that contains the transaction configuration connection string. Not used

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

Note

  • The TransactionConfigConnectionString parameter is required, but not used. The contents of the String are ignored. This parameter is reserved for future use.

[Visual Basic .NET]

Example

myCatalogSets.Initialize(strCatalogConnection, "")

Requirements

Namespace: Microsoft.CommerceServer.Interop.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: cs_ctlgsets (in cs_ctlgsets.dll)

See Also

[Visual Basic .NET]CatalogSets Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.