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

Gets a list of all Comments corresponding to a particular timesheet.

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

Syntax

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

Parameters

timesheetId
Type: System..::.Int32
Id of the timesheet.

Return Value

DataSet containing all the information related to the Comments for a particular timesheet. This DataSet consists of a single DataTable with the following columns.
  • timesheetId (System.Int32)Id of the timesheet.
  • CommentId (System.Int32)Id of the Comment.
  • UserId (System.Int32)Id of the user giving the Comment.
  • UserName (System.String)Name of the user giving the Comment.
  • Comment (System.String)Comment string.
  • CommentDate (System.DateTime)Date and Time when the Comment was given.

See Also