Version

GetActivities Method (ListScheduleDataConnector)

Gets activities that meet the criteria specified by the query parameter.
Syntax
'Declaration
 
Protected Friend Overrides Function GetActivities( _
   ByVal query As ActivityQuery _
) As ActivityQueryResult
protected internal override ActivityQueryResult GetActivities( 
   ActivityQuery query
)

Parameters

query
Query criteria - contains information about which activities to get.

Return Value

ActivityQueryResult object that contains the activities that meet the criteria specified by the query parameter.
Remarks

Note: GetActivities method is called by the XamScheduleDataManager to retrieve appointments, tasks, journals or a combination of the three for one or more resources as needed to display them in calendar view controls that may be associated with it. This method may get called multiple times to satisfy multiple calendar view controls and also may get called again as dates are navigated in those calendar view controls.

Note: If there's an error the returned ActivityQueryResult's Infragistics.OperationResult.Error property will return the error information.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also