PublicStatusInfoProvider GetPublicStatuses Method (Int32, Boolean)Kentico 8.1 API Reference
Returns dataset of all public statuses matching the specified parameters.

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

Parameters

siteId
Type: OnlineSystem Int32
ID of the site the public statuses should be retrieved from. If set to 0, global public statuses are retrieved
onlyEnabled (Optional)
Type: OnlineSystem Boolean
True - only enabled public statuses from the specified site are returned. False - all site public statuses are returned

Return Value

Type: ObjectQuery PublicStatusInfo 
See Also