Share via


CatalogToVendorAssociation.SpecifyVendorForCatalog Method (PIA)

Use this method to associate a vendor with a particular catalog.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Catalog
…
Public Sub SpecifyVendorForCatalog(szCatalogID As String,
  szVendorQualifier As String,
  szVendorQualifierValue As String,
  szVendorName As String)

[C#]

using Microsoft.CommerceServer.Interop.Catalog;
…
public void SpecifyVendorForCatalog(stringszCatalogID,
  stringszVendorQualifier,
  stringszVendorQualifierValue,
  stringszVendorName);

Parameters

[Visual Basic .NET]

  • szCatalogID
    A String that contains the identifier of the catalog with which to associate the specified vendors.
  • szVendorQualifier
    A String that contains the qualifier of the vendor to be associated with the specified catalog.
  • szVendorQualifierValue
    A String that contains the qualifier value of the vendor to be associated with the specified catalog.
  • szVendorName
    A String that contains the name of the vendor to be associated with the specified catalog.

[C#]

  • szCatalogID
    A string that contains the identifier of the catalog with which to associate the specified vendors.
  • szVendorQualifier
    A string that contains the qualifier of the vendor to be associated with the specified catalog.
  • szVendorQualifierValue
    A string that contains the qualifier value of the vendor to be associated with the specified catalog.
  • szVendorName
    A string that contains the name of the vendor to be associated with the specified catalog.

Exceptions

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

[Visual Basic .NET]

Example

myCatalogToVendorAssociation.SpecifyVendorForCatalog( _
  szCatalogID, szVendorQualifier, _
  szVendorQualifierValue, szVendorName)

Requirements

Namespace: Microsoft.CommerceServer.Interop.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: cs_ctlgvndr (in cs_ctlgvndr.dll)

See Also

CatalogToVendorAssociation Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.