042bc06c55113c22ce6e47cb7fcfaefc91c980fa
Guides/Timeouts.md
| ... | ... | @@ -7,56 +7,51 @@ |
| 7 | 7 | |
| 8 | 8 | ##Equals Drop Down |
| 9 | 9 | |
| 10 | -###Purpose |
|
| 11 | 10 | This setting allows the user to increase the database query time for building the drop down selection options at the Filters tab in the Report Designer. If you have a large or unoptimized database increasing this setting can help with proper reporting performance. |
| 12 | 11 | |
| 13 | -###Implementation |
|
| 12 | +```csharp |
|
| 14 | 13 | AdHocSettings.EqualsDropDownTimeout = 1000; |
| 14 | +``` |
|
| 15 | 15 | |
| 16 | 16 | ##Equals Select |
| 17 | 17 | |
| 18 | -###Purpose |
|
| 19 | 18 | This setting allows the user to increase the database query time for building the drop down selection options at the Filters tab in the Report Designer. If you have a large or unoptimized database increasing this setting can help with proper reporting performance. |
| 20 | 19 | |
| 21 | -###Implementation |
|
| 20 | +```csharp |
|
| 22 | 21 | AdHocSettings.EqualsSelectTimeout = 1000 |
| 23 | - |
|
| 22 | +``` |
|
| 24 | 23 | ##Oracle Command |
| 25 | 24 | |
| 26 | -###Purpose |
|
| 27 | 25 | Sets the time Izenda Reports will wait for an Oracle command to execute before timing out. |
| 28 | 26 | |
| 29 | -###Implementation |
|
| 27 | +```csharp |
|
| 30 | 28 | AdHocSettings.OracleCommandTimeout = 5000; |
| 31 | - |
|
| 29 | +``` |
|
| 32 | 30 | ##Preview Timeout |
| 33 | 31 | |
| 34 | -###Purpose |
|
| 35 | 32 | Sets the minumum time Izenda Reports will wait for a MS SQL command to execute before timing out. |
| 36 | 33 | |
| 37 | -###Implementation |
|
| 34 | +```csharp |
|
| 38 | 35 | AdHocSettings.PreviewTimeout = 500; |
| 39 | - |
|
| 36 | +``` |
|
| 40 | 37 | ##Schema Cache |
| 41 | 38 | |
| 42 | -###Purpose |
|
| 43 | 39 | Gets or sets the time span for schema caching. |
| 44 | 40 | |
| 45 | -###Implementation |
|
| 41 | +```csharp |
|
| 46 | 42 | Izenda.AdHoc.AdHocSettings.SchemaCacheTimeout = new TimeSpan(0, 0, 5, 0); |
| 47 | - |
|
| 43 | +``` |
|
| 48 | 44 | ##SQL Command |
| 49 | 45 | |
| 50 | -###Purpose |
|
| 51 | 46 | Gets or sets the wait time in seconds for database command dropdown values loading. |
| 52 | 47 | |
| 53 | -###Implementations |
|
| 48 | +```csharp |
|
| 54 | 49 | AdHocSettings.SqlCommandTimeout = 1000; |
| 55 | - |
|
| 50 | +``` |
|
| 56 | 51 | ##Data Source Drop Down |
| 57 | 52 | |
| 58 | -###Purpose |
|
| 59 | 53 | Gets or sets the timeout between starting loading dropdown values (in the DataSources dropdown at the Data Sources tab in the ReportDesigner) from server and redirecting to About page. |
| 60 | 54 | |
| 61 | -###Implementation |
|
| 62 | -AdHocSettings.DataSourceDropDownTimeout = 10; |
|
| ... | ... | \ No newline at end of file |
| 0 | +```csharp |
|
| 1 | +AdHocSettings.DataSourceDropDownTimeout = 10; |
|
| 2 | +``` |
|
| ... | ... | \ No newline at end of file |