ReportDocument.GetConcurrentUsage Method
Returns the number of concurrent jobs opened allowing developers to build license monitoring into their applications.
Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)
Syntax
'Declaration
Public Shared Function GetConcurrentUsage () As Integer
public static int GetConcurrentUsage ()
Return Value
The number of concurrent jobs opened.
Remarks
Use this call in a multithreaded or Web scenario to determine the number of concurrent users.
Example
This example returns the number of concurrent jobs opened.
'Declaration
Private Function GetReportConcurrentUsage() As Integer
ReportDocument.GetConcurrentUsage()
End Function
private int GetReportConcurrentUsage()
{
return ReportDocument.GetConcurrentUsage();
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio .NET 2002
See Also
Reference
ReportDocument Class
ReportDocument Members
CrystalDecisions.CrystalReports.Engine Namespace