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