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