Version

IsActivityOperationSupported(ActivityType,ActivityOperation,ResourceCalendar) Method

Indicates whether the specified activity operation for the specified activity type is supported.
Syntax
'Declaration
 
Protected Friend Overloads Overrides Function IsActivityOperationSupported( _
   ByVal activityType As ActivityType, _
   ByVal activityOperation As ActivityOperation, _
   ByVal calendar As ResourceCalendar _
) As Boolean
protected internal override bool IsActivityOperationSupported( 
   ActivityType activityType,
   ActivityOperation activityOperation,
   ResourceCalendar calendar
)

Parameters

activityType
Activity type.
activityOperation
Activity operation.
calendar
ResourceCalendar for which to check if the operation can be performed.

Return Value

True if the operation is supported. False otherwise.
Remarks

This method is used by the data manager to determine if the specified operation is supprted for the activities of the specified type for the specified resource calendar. If the operation is not supported, relevant user interface will be disabled or hidden in the schedule controls.

When the context of an activity object for which the operation is being performed available, the overload ScheduleDataConnectorBase.IsActivityOperationSupported that takes in the activity is used.

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