CatalogToVendorAssociation.SpecifyVendorForCatalog

Ee799756.c++_on(en-US,CS.10).gifEe799756.vb_off(en-US,CS.10).gif

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

Definition

Sub SpecifyVendorForCatalog(szCatalogID As String,szVendorQualifier As String,szVendorQualifierValue As String,szVendorName As String)

Parameters

szCatalogID

A String that contains the identifier of the catalog with which to associated 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.

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

myCatalogToVendorAssociation.SpecifyVendorForCatalog szCatalogID, szVendorQualifier, szVendorQualifierValue, szVendorName

See Also

CatalogToVendorAssociation Object


All rights reserved.