d0f29df79c27565cbbc98d6cfafab34905d3e67f
API/AdHocContext.md
| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | +#AdHocContext |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +##About |
|
| 6 | + |
|
| 7 | +The AdHocContext class is used to setup the database driver, access the report set currently stored in the active user's session, and access various metrics for your license key. Below is an overview of the properties and methods available through AdHocContext and what each of them can do. |
|
| 8 | + |
|
| 9 | +|Property|Description| |
|
| 10 | +|:------:|:---------:| |
|
| 11 | +|ClientLicenses|Gets the maximum number of clients supported by your current license key| |
|
| 12 | +|CurrentReportSet|Gets the report object that was most recently loaded by the user| |
|
| 13 | +|CurrentUserName| |
|
| 14 | +|Driver|Gets or sets the database driver that your application will use| |
|
| 15 | +|ProcessorLicenses|Gets the maximum number of processors your current license key can support| |
|
| 16 | +|ReportSetCount|Not used| |
|
| 17 | +|SchedulerExecuting|Gets a value indicating whether the Izenda Scheduler is executing scheduled reports or not| |
|
| 18 | +|SetSchedulerExecuting|This method takes a boolean value that sets whether or not the Izenda Scheduler is executing| |
|
| 19 | +|StoreInStaticMemory|Gets or sets whether the CurrentReportSet will be stored in static memory or not| |
|
| 20 | +|UsersCountModel|Gets the |
|
| 21 | +|ViewerLicenses|Gets the maximum number of users supported by your current license key| |
|
| 22 | + |
|
| 23 | +##CurrentReportSet |
|
| 24 | + |
|
| 25 | +The CurrentReportSet object is the way that Izenda exposes the most recently loaded report definition. This object can be used in many of the overrides that can be used in the Global.asax for more flexibility when dealing with saving/loading reports, modifying datasets, and displaying other useful information as your organization needs. |
|
| 26 | + |
|
| 27 | +##Driver |
|
| 28 | + |
|
| 29 | +The Driver object is the single point of entry for all database traffic and must be set to any of the specific driver classes that Izenda provides. This will use your connection string and datasources to provide the framework for working with Izenda reports. |
|
| ... | ... | \ No newline at end of file |