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

Gets a particular task from the database

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

Syntax

C#
public TaskInfo GetTask(
	int taskId,
	int userId,
	bool isAdmin
)
Visual Basic (Declaration)
Public Function GetTask ( _
	taskId As Integer, _
	userId As Integer, _
	isAdmin As Boolean _
) As TaskInfo
Visual C++
public:
TaskInfo^ GetTask(
	int taskId, 
	int userId, 
	bool isAdmin
)

Parameters

taskId
Type: System..::.Int32
The unique id of the task in the database
userId
Type: System..::.Int32
The unique id of the user
isAdmin
Type: System..::.Boolean
Is the user an administrator

Return Value

The task information structure, null if the task is not found

See Also