SupplierInfoProvider GetSuppliersInternal Method (Int32, Boolean)Kentico 8.1 API Reference
Returns dataset of all suppliers for specified site.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

siteId
Type: OnlineSystem Int32
Site ID
onlyEnabled
Type: OnlineSystem Boolean
True - only enable suppliers are returned. False - both enabled and disabled suppliers are returned.

Return Value

Type: ObjectQuery SupplierInfo 
See Also