SupplierInfoProviderGetSuppliers Method (Int32, Boolean) |
Returns dataset of all suppliers for specified site.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax public static ObjectQuery<SupplierInfo> GetSuppliers(
int siteId,
bool onlyEnabled = false
)
Parameters
- siteId
- Type: SystemInt32
Site ID - onlyEnabled (Optional)
- Type: SystemBoolean
True - only enable suppliers are returned.
False - both enabled and disabled suppliers are returned.
Return Value
Type:
ObjectQuerySupplierInfoSee Also