ConnectorExportProducts Method (String, String)A Sandcastle Documented Class Library

Returns an IEnumerable ProductStreamer that allows you to do filtered product exports, conveniently parsed into ResultProduct items. Every new iteration on this class will result in a new request to eSales. Note that the IEnumerator returned by its GetEnumerator method must be disposed when done, but this is done automatically when using foreach iteration.

Note that while iterating, imports will be blocked from completing on a selected eSales server. Imports will not fail but will wait for the iteration to finish. This means that if you fail to close the ProductStreamer you might block imports indefinitely!

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.0.0

public ProductStreamer ExportProducts(
	string filter,
	string presentationAttributes


Type: SystemString
the filter expression to use in the product selection, null or empty filter will select all products
Type: SystemString
the product attributes to include in the result, null or empty presentationAttributes will return the configured default presentation attributes in the cluster

Return Value

Type: ProductStreamer
A ProductStreamer that can be used to iterate over the specified product selection.
See Also