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

Gets the availability information for a user between a time range.

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

Syntax

C#
public DataView GetResourceAvailability(
	int resourceId,
	DateTime startDatetime,
	DateTime endDatetime
)
Visual Basic (Declaration)
Public Function GetResourceAvailability ( _
	resourceId As Integer, _
	startDatetime As DateTime, _
	endDatetime As DateTime _
) As DataView
Visual C++
public:
DataView^ GetResourceAvailability(
	int resourceId, 
	DateTime startDatetime, 
	DateTime endDatetime
)

Parameters

resourceId
Type: System..::.Int32
Id of the resource whose availability information is to be obtained.
startDatetime
Type: System..::.DateTime
Starting Date and Time of the time range. (This is the date and time based on currenly logged in User's timezone).
endDatetime
Type: System..::.DateTime
Ending Date and Time of the time range. (This is the date and time based on currenly logged in User's timezone).

Return Value

DataView containing the user's availability information. DataView has the following two columns.
  • id (System.Int32) -- number between 0 to 95 corresponding to each quarter of an hour over a 24 hour period.
  • status (System.String) -- value determining the availability F = Free B = Busy

See Also