Here are the examples of the csharp api class System.Data.Common.DbConnectionStringBuilderUtil.IsValidPoolBlockingPeriodValue(System.Data.SqlClient.PoolBlockingPeriod) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
1. Example
View licenseinternal static string PoolBlockingPeriodToString(PoolBlockingPeriod value) { Debug.Assert(IsValidPoolBlockingPeriodValue(value)); if (value == PoolBlockingPeriod.AlwaysBlock) { return PoolBlockingPeriodAlwaysBlockString; } if (value == PoolBlockingPeriod.NeverBlock) { return PoolBlockingPeriodNeverBlockString; } else { return PoolBlockingPeriodAutoString; } }
0
2. Example
View licenseinternal static PoolBlockingPeriod ConvertToPoolBlockingPeriod(string keyword, object value) /n ..... /n //View Source file for more details /n }