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

Gets all the information related to the polls that have been archived for a particular user.

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

Syntax

C#
public DataSet GetPollArchive(
	int userId
)
Visual Basic (Declaration)
Public Function GetPollArchive ( _
	userId As Integer _
) As DataSet
Visual C++
public:
DataSet^ GetPollArchive(
	int userId
)

Parameters

userId
Type: System..::.Int32
The unique id for the user.

Return Value

DataSet containing all the information related to all the polls that have been archived. This DataSet consists of a single DataTable with the following columns.
  • pid (System.Int32)Id of the poll.
  • gname (System.String)Name of the group for which the poll has been created.
  • pollq (System.String)Poll Description or the question of the poll.
  • vote (System.Int32)Number of votes for a particular poll.
  • closeDate (System.DateTime)Date and Time when the Current poll expires.
  • createdUserId (System.Int32)Id of the user who created the poll.
  • CreatedDate (System.DateTime)Date and Time when the poll was created.
  • uName (System.String)Name of the user who created the poll.

See Also