PollInfoProviderGetPolls Method (String, 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(
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:
InfoDataSetPollInfoSee Also