PublicStatusInfoProviderGetPublicStatuses Method (Int32, Boolean) |
Returns dataset of all public statuses matching the specified parameters.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax 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:
ObjectQueryPublicStatusInfoSee Also