Version

InitializeRootActivity Method

Initializes the root activity of an occurrence instance.
Syntax
'Declaration
 
Public Sub InitializeRootActivity( _
   ByVal rootActivity As ActivityBase, _
   ByVal occurrenceStart As Date _
) 
public void InitializeRootActivity( 
   ActivityBase rootActivity,
   DateTime occurrenceStart
)

Parameters

rootActivity
Root recurring activity.
occurrenceStart
Original date-time of the occurrence.
Remarks

InitializeRootActivity method is called by the data connector to initialize the RootActivity reference on an occurrence of a recurring activity. This method also sets the RootActivityId to the Id of the specified root activity. It also sets the OriginalOccurrenceStart property to the specified 'occurrenceStart' value. Note that

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