Click or drag to resize
BannerCategoryInfoProviderGetBannerCategoryInfoFromSiteOrGlobalInternal 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.BannerManagement
Assembly: CMS.BannerManagement (in CMS.BannerManagement.dll) Version: 11.0.0
Syntax
C#
protected virtual BannerCategoryInfo GetBannerCategoryInfoFromSiteOrGlobalInternal(
	string bannerCategoryCodeName,
	int siteId
)

Parameters

bannerCategoryCodeName
Type: SystemString
Code name.
siteId
Type: SystemInt32
Site to be searched.

Return Value

Type: BannerCategoryInfo
See Also