Click or drag to resize
BannerInfoProviderGetBanners Method (String, String, Int32, String)
Returns object query of all banners matching the specified parameters.

Namespace: CMS.BannerManagement
Assembly: CMS.BannerManagement (in CMS.BannerManagement.dll) Version: 10.0.0
Syntax
C#
public static ObjectQuery<BannerInfo> GetBanners(
	string where,
	string orderBy = null,
	int topN = -1,
	string columns = null
)

Parameters

where
Type: SystemString
Where condition.
orderBy (Optional)
Type: SystemString
Order by expression.
topN (Optional)
Type: SystemInt32
Number of records to be selected.
columns (Optional)
Type: SystemString
Columns to be selected.

Return Value

Type: ObjectQueryBannerInfo
See Also