CatalogToVendorAssociation.GetVendorInfoForCatalog Method (PIA)
Use this method to retrieve information about the vendor associated with the specified catalog.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Catalog
Imports ADODB26Lib ‘ for _Recordset
…
Public Function GetVendorInfoForCatalog(szCatalogID As String) As _Recordset
[C#]
using Microsoft.CommerceServer.Interop.Catalog;
using ADODB26Lib; //For _Recordset
…
public _Recordset GetVendorInfoForCatalog(stringszCatalogID);
Parameters
[Visual Basic .NET]
- szCatalogID
A String that contains the ID of the catalog for which vendor information will be returned.
[C#]
- szCatalogID
A string that contains the ID of the catalog for which vendor information will be returned.
Return Values
This method returns an ADO ADODB26Lib._Recordset interface to a Recordset object containing the requested vendor information.
[Visual Basic .NET]
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Example
rsVendorInfo = _
myCatalogToVendorAssociation.GetVendorInfoForCatalog(szCatalogID)
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.