Click or drag to resize
PollInfoProviderGetGlobalPolls Method

Note: This API is now obsolete.

Returns all global polls bound to site.

Namespace: CMS.Polls
Assembly: CMS.Polls (in CMS.Polls.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Method GetGlobalPolls(int siteId, string where, string orderBy, int topN, string columns) is obsolete. Used only by inline controls.")]
public static InfoDataSet<PollInfo> GetGlobalPolls(
	int siteId,
	string where,
	string orderBy,
	int topN,
	string columns
)

Parameters

siteId
Type: SystemInt32
Site ID
where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order By
topN
Type: SystemInt32
TOP N
columns
Type: SystemString
Columns restriction

Return Value

Type: InfoDataSetPollInfo
See Also