PublicStatusInfoProvider.GetPublicStatuses 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
Syntaxpublic static ObjectQuery<PublicStatusInfo> GetPublicStatuses(
int siteId,
bool onlyEnabled = false
)
Parameters
- siteId
- Type: System.Int32
ID of the site the public statuses should be retrieved from. If set to 0, global public statuses are retrieved - onlyEnabled (Optional)
- Type: System.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