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

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

Parameters

siteName
Type: SystemString
Site name
topN (Optional)
Type: SystemInt32
TOP N condition
columns (Optional)
Type: SystemString
Columns restriction

Return Value

Type: InfoDataSetPollInfo
See Also