BannerCategoryInfoProviderGetBannerCategoryInfoFromSiteOrGlobal Method |
Gets banner category info with the specified name. First, banner categories assigned to the
site specified by siteId are searched and then global banner categories.
If there is no banner category with this name on specified site or global, null is returned.
Namespace: CMS.BannerManagementAssembly: CMS.BannerManagement (in CMS.BannerManagement.dll) Version: 8.2.23
Syntax public static BannerCategoryInfo GetBannerCategoryInfoFromSiteOrGlobal(
string bannerCategoryCodeName,
int siteId
)
Parameters
- bannerCategoryCodeName
- Type: SystemString
Code name. - siteId
- Type: SystemInt32
Site to be searched.
Return Value
Type:
BannerCategoryInfoSee Also