SupplierInfoProvider GetSuppliers Method (Int32, Boolean)Kentico 8.0 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.0.5239.26125)

Parameters

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

Return Value

Type: ObjectQuery SupplierInfo 
See Also