IWorkflowContext.RetrieveActivityCount Method

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Retrieves the activity count for the current primary entity.

Syntax

[Visual Basic .NET]
Function RetrieveActivityCount(
  ByVal includeActivitiesCreatedByWorkflow As Boolean
) As Integer

[C#]
int RetrieveActivityCount(
  bool  includeActivitiesCreatedByWorkflow
);

Parameters

includeActivitiesCreatedByWorkflow

Specifies whether to include activites created by a workflow.

Return Value

Returns an Int32 type.

Requirements

Namespace: Microsoft.Crm.Workflow

Assembly: Microsoft.Crm.Sdk.dll

See Also

Reference

© 2010 Microsoft Corporation. All rights reserved.