849d5e7dfc5c63b08cdd9a20fc931cb9be9e9e76
API/CodeSamples/FieldsRegex.md
| ... | ... | @@ -26,7 +26,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 26 | 26 | //Creates a connection to Microsoft SQL Server |
| 27 | 27 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 28 | 28 | Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 29 | - Izenda.AdHoc.AdHocSettings.FieldsRegex = "pass|pw|admin"; |
|
| 29 | + Izenda.AdHoc.AdHocSettings.FieldsRegex = "pass|pw|admin"; //The relevant setting |
|
| 30 | 30 | HttpContext.Current.Session["ReportingInitialized"] = true; |
| 31 | 31 | } |
| 32 | 32 | } |
| ... | ... | @@ -48,7 +48,7 @@ Public Class CustomAdHocConfig |
| 48 | 48 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 49 | 49 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 50 | 50 | Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 51 | - Izenda.AdHoc.AdHocSettings.FieldsRegex = "pass|pw|admin" |
|
| 51 | + Izenda.AdHoc.AdHocSettings.FieldsRegex = "pass|pw|admin" 'The relevant setting |
|
| 52 | 52 | HttpContext.Current.Session("ReportingInitialized") = True |
| 53 | 53 | End Sub |
| 54 | 54 | End Class |