Click or drag to resize
PollInfoProviderGetPolls Method (Int32, Int32, String)
Returns the Dataset structure of all polls of the specified site.

Namespace: CMS.Polls
Assembly: CMS.Polls (in CMS.Polls.dll) Version: 10.0.0
Syntax
C#
public static InfoDataSet<PollInfo> GetPolls(
	int siteId,
	int topN = 0,
	string columns = null
)

Parameters

siteId
Type: SystemInt32
Site ID
topN (Optional)
Type: SystemInt32
TOP N condition
columns (Optional)
Type: SystemString
Columns restriction

Return Value

Type: InfoDataSetPollInfo
See Also