Version

FetchVariancesContext Constructor

Creates a data context for performing a fetch of variance information from the data provider.
Syntax
'Declaration
 
Public Function New( _
   ByVal activities As ActivitiesCollection, _
   ByVal resource As Resource, _
   ByVal frameIntervalStart As SmartDate, _
   ByVal frameIntervalEnd As SmartDate, _
   ByVal variancesList As IList _
)

Parameters

activities
The set of activities for which variances are being loaded. These objects are used for reference purposes, and do not directly supply input to the data source queries.
resource
The organizing resource of activities for which recurrence information is being requested.
frameIntervalStart
Variances ending before this date are not of interest and therefore will be excluded from the results.
frameIntervalEnd
Variances starting after this date are not of interest and therefore will be excluded from the results.
variancesList
An IList collection into which the retrieved Variance objects will be added. If not specified, then the Variance objects will be inserted into the VariancesCollection of the supplied activities.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, 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