Click or drag to resize
PublicStatusInfoProviderGetPublicStatuses Method (Int32, Boolean)
Returns dataset of all public statuses matching the specified parameters.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public static ObjectQuery<PublicStatusInfo> GetPublicStatuses(
	int siteId,
	bool onlyEnabled = false
)

Parameters

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

Return Value

Type: ObjectQueryPublicStatusInfo
See Also