Click or drag to resize
ManufacturerInfoProviderGetManufacturers Method (Int32, Boolean)
Returns dataset of all manufacturers for specified site.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
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: ObjectQueryManufacturerInfo
See Also