PollInfoProviderGetPolls Method (Int32, Int32, String) |
Returns the Dataset structure of all polls of the specified site.
Namespace: CMS.PollsAssembly: CMS.Polls (in CMS.Polls.dll) Version: 10.0.0
Syntax 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:
InfoDataSetPollInfoSee Also