| PollInfoProviderGetPolls Method (Int32, Int32, String) | 
Note: This API is now obsolete.
            Returns the Dataset structure of all polls of the specified site.
            
 
Namespace: CMS.PollsAssembly: CMS.Polls (in CMS.Polls.dll) Version: 11.0.0
Syntax[ObsoleteAttribute("Use CMS.DataEngine.ObjectQuery<PollInfo> instead")]
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