Share via


ReportDocument.EnterpriseSession Property

Gets or sets the reference to the EnterpriseSession object when the RAS server is managed by BusinessObjects Enterprise.

Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)

Syntax

'Declaration

Public Overrideable Property EnterpriseSession As CrystalDecisions.Enterprise.EnterpriseSession
public virtual CrystalDecisions.Enterprise.EnterpriseSession EnterpriseSession {get; set;}

Example

This example returns the enterprise session of a report.

'Declaration

      Private Function GetEnterpriseSession(ByVal myReportDocument As ReportDocument) As CrystalDecisions.Enterprise.EnterpriseSession
        GetEnterpriseSession = myReportDocument.EnterpriseSession
      End Function
      
      private CrystalDecisions.Enterprise.EnterpriseSession GetEnterpriseSession(ReportDocument reportDocument)
      {
        return reportDocument.EnterpriseSession;
      }
      

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET 10

See Also

Reference

ReportDocument Class
ReportDocument Members
CrystalDecisions.CrystalReports.Engine Namespace