[This is preliminary documentation and is subject to change.]

Gets all the details corresponding to a poll for a particular group.

Namespace:  OfficeClip.DBLayer.OfficePortal
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public void GetDetail(
	int groupId,
	int pollId,
	ref string pollq,
	ref string security,
	ref string anonymity,
	ref string multipleChoice,
	ref DateTime closeDate,
	ref int totalPolls,
	ref int numUsersVoted,
	ref string usersNotVoted,
	ref int totalUsers,
	ref DataTable dtOption
)
Visual Basic (Declaration)
Public Sub GetDetail ( _
	groupId As Integer, _
	pollId As Integer, _
	ByRef pollq As String, _
	ByRef security As String, _
	ByRef anonymity As String, _
	ByRef multipleChoice As String, _
	ByRef closeDate As DateTime, _
	ByRef totalPolls As Integer, _
	ByRef numUsersVoted As Integer, _
	ByRef usersNotVoted As String, _
	ByRef totalUsers As Integer, _
	ByRef dtOption As DataTable _
)
Visual C++
public:
void GetDetail(
	int groupId, 
	int pollId, 
	String^% pollq, 
	String^% security, 
	String^% anonymity, 
	String^% multipleChoice, 
	DateTime% closeDate, 
	int% totalPolls, 
	int% numUsersVoted, 
	String^% usersNotVoted, 
	int% totalUsers, 
	DataTable^% dtOption
)

Parameters

groupId
Type: System..::.Int32
The unique id of the group.
pollId
Type: System..::.Int32
Id of the poll.
pollq
Type: System..::.String%
Description of the poll or the poll question.
security
Type: System..::.String%
Is the poll Secured (poll results are not shown before the polling is over).
anonymity
Type: System..::.String%
Is the poll Anonymous (names are not shown in anonymous poll).
multipleChoice
Type: System..::.String%
Is more than one choice allowed for the poll.
closeDate
Type: System..::.DateTime%
Date and Time (if closes automatically) when the poll expires.
totalPolls
Type: System..::.Int32%
Total number of votes cast for a poll.
numUsersVoted
Type: System..::.Int32%
Total distinct number of users who have voted for this particular poll.
usersNotVoted
Type: System..::.String%
Number of users who have not yet voted for this particular poll.
totalUsers
Type: System..::.Int32%
Total number of users who can vote for this particular poll.
dtOption
Type: System.Data..::.DataTable%
DataTable containing all the details of all the options specified for the poll. This DataTable has the following columns.
  • optionId (System.Int32)Id of the option.
  • pollOption (System.String)Text string describing the poll option.
  • totalEach (System.Int32)Number of votes for this particular option.
  • userNames (System.String)Name of users who have voted for this particular option.

See Also