195 references to DbConnectionStringKeywords
System.Data (195)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (1)
245
(('{' == keyValue[0]) || (0 <= keyValue.IndexOf(';')) || (0 == String.Compare(
DbConnectionStringKeywords
.Driver, keyName, StringComparison.OrdinalIgnoreCase))) &&
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
414
if (StringComparer.OrdinalIgnoreCase.Equals(
DbConnectionStringKeywords
.Password, keyword) ||
fx\src\data\System\Data\Odbc\OdbcConnectionStringbuilder.cs (8)
46
validKeywords[(int)Keywords.Driver] =
DbConnectionStringKeywords
.Driver;
47
validKeywords[(int)Keywords.Dsn] =
DbConnectionStringKeywords
.Dsn;
52
hash.Add(
DbConnectionStringKeywords
.Driver, Keywords.Driver);
53
hash.Add(
DbConnectionStringKeywords
.Dsn, Keywords.Dsn);
105
[DisplayName(
DbConnectionStringKeywords
.Driver)]
112
SetValue(
DbConnectionStringKeywords
.Driver, value);
117
[DisplayName(
DbConnectionStringKeywords
.Dsn)]
124
SetValue(
DbConnectionStringKeywords
.Dsn, value);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (23)
57
validKeywords[(int)Keywords.DataSource] =
DbConnectionStringKeywords
.DataSource;
58
validKeywords[(int)Keywords.FileName] =
DbConnectionStringKeywords
.FileName;
60
validKeywords[(int)Keywords.OleDbServices] =
DbConnectionStringKeywords
.OleDbServices;
61
validKeywords[(int)Keywords.PersistSecurityInfo] =
DbConnectionStringKeywords
.PersistSecurityInfo;
62
validKeywords[(int)Keywords.Provider] =
DbConnectionStringKeywords
.Provider;
66
hash.Add(
DbConnectionStringKeywords
.DataSource, Keywords.DataSource);
67
hash.Add(
DbConnectionStringKeywords
.FileName, Keywords.FileName);
69
hash.Add(
DbConnectionStringKeywords
.OleDbServices, Keywords.OleDbServices);
70
hash.Add(
DbConnectionStringKeywords
.PersistSecurityInfo, Keywords.PersistSecurityInfo);
71
hash.Add(
DbConnectionStringKeywords
.Provider, Keywords.Provider);
131
[DisplayName(
DbConnectionStringKeywords
.DataSource)]
139
SetValue(
DbConnectionStringKeywords
.DataSource, value);
144
[DisplayName(
DbConnectionStringKeywords
.FileName)]
153
SetValue(
DbConnectionStringKeywords
.FileName, value);
172
[DisplayName(
DbConnectionStringKeywords
.OleDbServices)]
180
SetValue(
DbConnectionStringKeywords
.OleDbServices, value);
185
[DisplayName(
DbConnectionStringKeywords
.PersistSecurityInfo)]
192
SetValue(
DbConnectionStringKeywords
.PersistSecurityInfo, value);
197
[DisplayName(
DbConnectionStringKeywords
.Provider)]
205
SetValue(
DbConnectionStringKeywords
.Provider, value);
392
AppendKeyValuePair(builder,
DbConnectionStringKeywords
.Provider, provider);
529
isReadOnly = ContainsKey(
DbConnectionStringKeywords
.IntegratedSecurity);
538
isReadOnly = ContainsKey(
DbConnectionStringKeywords
.IntegratedSecurity);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (162)
137
validKeywords[(int)Keywords.ApplicationIntent] =
DbConnectionStringKeywords
.ApplicationIntent;
138
validKeywords[(int)Keywords.ApplicationName] =
DbConnectionStringKeywords
.ApplicationName;
139
validKeywords[(int)Keywords.AsynchronousProcessing] =
DbConnectionStringKeywords
.AsynchronousProcessing;
140
validKeywords[(int)Keywords.AttachDBFilename] =
DbConnectionStringKeywords
.AttachDBFilename;
141
validKeywords[(int)Keywords.PoolBlockingPeriod] =
DbConnectionStringKeywords
.PoolBlockingPeriod;
142
validKeywords[(int)Keywords.ConnectionReset] =
DbConnectionStringKeywords
.ConnectionReset;
143
validKeywords[(int)Keywords.ContextConnection] =
DbConnectionStringKeywords
.ContextConnection;
144
validKeywords[(int)Keywords.ConnectTimeout] =
DbConnectionStringKeywords
.ConnectTimeout;
145
validKeywords[(int)Keywords.CurrentLanguage] =
DbConnectionStringKeywords
.CurrentLanguage;
146
validKeywords[(int)Keywords.DataSource] =
DbConnectionStringKeywords
.DataSource;
147
validKeywords[(int)Keywords.Encrypt] =
DbConnectionStringKeywords
.Encrypt;
148
validKeywords[(int)Keywords.Enlist] =
DbConnectionStringKeywords
.Enlist;
149
validKeywords[(int)Keywords.FailoverPartner] =
DbConnectionStringKeywords
.FailoverPartner;
150
validKeywords[(int)Keywords.InitialCatalog] =
DbConnectionStringKeywords
.InitialCatalog;
151
validKeywords[(int)Keywords.IntegratedSecurity] =
DbConnectionStringKeywords
.IntegratedSecurity;
152
validKeywords[(int)Keywords.LoadBalanceTimeout] =
DbConnectionStringKeywords
.LoadBalanceTimeout;
153
validKeywords[(int)Keywords.MaxPoolSize] =
DbConnectionStringKeywords
.MaxPoolSize;
154
validKeywords[(int)Keywords.MinPoolSize] =
DbConnectionStringKeywords
.MinPoolSize;
155
validKeywords[(int)Keywords.MultipleActiveResultSets] =
DbConnectionStringKeywords
.MultipleActiveResultSets;
156
validKeywords[(int)Keywords.MultiSubnetFailover] =
DbConnectionStringKeywords
.MultiSubnetFailover;
157
validKeywords[(int)Keywords.TransparentNetworkIPResolution] =
DbConnectionStringKeywords
.TransparentNetworkIPResolution;
159
validKeywords[(int)Keywords.NetworkLibrary] =
DbConnectionStringKeywords
.NetworkLibrary;
160
validKeywords[(int)Keywords.PacketSize] =
DbConnectionStringKeywords
.PacketSize;
161
validKeywords[(int)Keywords.Password] =
DbConnectionStringKeywords
.Password;
162
validKeywords[(int)Keywords.PersistSecurityInfo] =
DbConnectionStringKeywords
.PersistSecurityInfo;
163
validKeywords[(int)Keywords.Pooling] =
DbConnectionStringKeywords
.Pooling;
164
validKeywords[(int)Keywords.Replication] =
DbConnectionStringKeywords
.Replication;
165
validKeywords[(int)Keywords.TransactionBinding] =
DbConnectionStringKeywords
.TransactionBinding;
166
validKeywords[(int)Keywords.TrustServerCertificate] =
DbConnectionStringKeywords
.TrustServerCertificate;
167
validKeywords[(int)Keywords.TypeSystemVersion] =
DbConnectionStringKeywords
.TypeSystemVersion;
168
validKeywords[(int)Keywords.UserID] =
DbConnectionStringKeywords
.UserID;
169
validKeywords[(int)Keywords.UserInstance] =
DbConnectionStringKeywords
.UserInstance;
170
validKeywords[(int)Keywords.WorkstationID] =
DbConnectionStringKeywords
.WorkstationID;
171
validKeywords[(int)Keywords.ConnectRetryCount] =
DbConnectionStringKeywords
.ConnectRetryCount;
172
validKeywords[(int)Keywords.ConnectRetryInterval] =
DbConnectionStringKeywords
.ConnectRetryInterval;
173
validKeywords[(int)Keywords.Authentication] =
DbConnectionStringKeywords
.Authentication;
174
validKeywords[(int)Keywords.ColumnEncryptionSetting] =
DbConnectionStringKeywords
.ColumnEncryptionSetting;
175
validKeywords[(int)Keywords.EnclaveAttestationUrl] =
DbConnectionStringKeywords
.EnclaveAttestationUrl;
179
hash.Add(
DbConnectionStringKeywords
.ApplicationIntent, Keywords.ApplicationIntent);
180
hash.Add(
DbConnectionStringKeywords
.ApplicationName, Keywords.ApplicationName);
181
hash.Add(
DbConnectionStringKeywords
.AsynchronousProcessing, Keywords.AsynchronousProcessing);
182
hash.Add(
DbConnectionStringKeywords
.AttachDBFilename, Keywords.AttachDBFilename);
183
hash.Add(
DbConnectionStringKeywords
.PoolBlockingPeriod, Keywords.PoolBlockingPeriod);
184
hash.Add(
DbConnectionStringKeywords
.ConnectTimeout, Keywords.ConnectTimeout);
185
hash.Add(
DbConnectionStringKeywords
.ConnectionReset, Keywords.ConnectionReset);
186
hash.Add(
DbConnectionStringKeywords
.ContextConnection, Keywords.ContextConnection);
187
hash.Add(
DbConnectionStringKeywords
.CurrentLanguage, Keywords.CurrentLanguage);
188
hash.Add(
DbConnectionStringKeywords
.DataSource, Keywords.DataSource);
189
hash.Add(
DbConnectionStringKeywords
.Encrypt, Keywords.Encrypt);
190
hash.Add(
DbConnectionStringKeywords
.Enlist, Keywords.Enlist);
191
hash.Add(
DbConnectionStringKeywords
.FailoverPartner, Keywords.FailoverPartner);
192
hash.Add(
DbConnectionStringKeywords
.InitialCatalog, Keywords.InitialCatalog);
193
hash.Add(
DbConnectionStringKeywords
.IntegratedSecurity, Keywords.IntegratedSecurity);
194
hash.Add(
DbConnectionStringKeywords
.LoadBalanceTimeout, Keywords.LoadBalanceTimeout);
195
hash.Add(
DbConnectionStringKeywords
.MultipleActiveResultSets, Keywords.MultipleActiveResultSets);
196
hash.Add(
DbConnectionStringKeywords
.MaxPoolSize, Keywords.MaxPoolSize);
197
hash.Add(
DbConnectionStringKeywords
.MinPoolSize, Keywords.MinPoolSize);
198
hash.Add(
DbConnectionStringKeywords
.MultiSubnetFailover, Keywords.MultiSubnetFailover);
199
hash.Add(
DbConnectionStringKeywords
.TransparentNetworkIPResolution, Keywords.TransparentNetworkIPResolution);
201
hash.Add(
DbConnectionStringKeywords
.NetworkLibrary, Keywords.NetworkLibrary);
202
hash.Add(
DbConnectionStringKeywords
.PacketSize, Keywords.PacketSize);
203
hash.Add(
DbConnectionStringKeywords
.Password, Keywords.Password);
204
hash.Add(
DbConnectionStringKeywords
.PersistSecurityInfo, Keywords.PersistSecurityInfo);
205
hash.Add(
DbConnectionStringKeywords
.Pooling, Keywords.Pooling);
206
hash.Add(
DbConnectionStringKeywords
.Replication, Keywords.Replication);
207
hash.Add(
DbConnectionStringKeywords
.TransactionBinding, Keywords.TransactionBinding);
208
hash.Add(
DbConnectionStringKeywords
.TrustServerCertificate, Keywords.TrustServerCertificate);
209
hash.Add(
DbConnectionStringKeywords
.TypeSystemVersion, Keywords.TypeSystemVersion);
210
hash.Add(
DbConnectionStringKeywords
.UserID, Keywords.UserID);
211
hash.Add(
DbConnectionStringKeywords
.UserInstance, Keywords.UserInstance);
212
hash.Add(
DbConnectionStringKeywords
.WorkstationID, Keywords.WorkstationID);
213
hash.Add(
DbConnectionStringKeywords
.ConnectRetryCount, Keywords.ConnectRetryCount);
214
hash.Add(
DbConnectionStringKeywords
.ConnectRetryInterval, Keywords.ConnectRetryInterval);
215
hash.Add(
DbConnectionStringKeywords
.Authentication, Keywords.Authentication);
216
hash.Add(
DbConnectionStringKeywords
.ColumnEncryptionSetting, Keywords.ColumnEncryptionSetting);
217
hash.Add(
DbConnectionStringKeywords
.EnclaveAttestationUrl, Keywords.EnclaveAttestationUrl);
319
[DisplayName(
DbConnectionStringKeywords
.ApplicationIntent)]
335
[DisplayName(
DbConnectionStringKeywords
.ApplicationName)]
342
SetValue(
DbConnectionStringKeywords
.ApplicationName, value);
347
[DisplayName(
DbConnectionStringKeywords
.AsynchronousProcessing)]
354
SetValue(
DbConnectionStringKeywords
.AsynchronousProcessing, value);
359
[DisplayName(
DbConnectionStringKeywords
.AttachDBFilename)]
368
SetValue(
DbConnectionStringKeywords
.AttachDBFilename, value);
373
[DisplayName(
DbConnectionStringKeywords
.PoolBlockingPeriod)]
393
[DisplayName(
DbConnectionStringKeywords
.ConnectionReset)]
401
SetValue(
DbConnectionStringKeywords
.ConnectionReset, value);
406
[DisplayName(
DbConnectionStringKeywords
.ContextConnection)]
413
SetValue(
DbConnectionStringKeywords
.ContextConnection, value);
418
[DisplayName(
DbConnectionStringKeywords
.ConnectTimeout)]
426
throw ADP.InvalidConnectionOptionValue(
DbConnectionStringKeywords
.ConnectTimeout);
428
SetValue(
DbConnectionStringKeywords
.ConnectTimeout, value);
433
[DisplayName(
DbConnectionStringKeywords
.CurrentLanguage)]
440
SetValue(
DbConnectionStringKeywords
.CurrentLanguage, value);
445
[DisplayName(
DbConnectionStringKeywords
.DataSource)]
453
SetValue(
DbConnectionStringKeywords
.DataSource, value);
458
[DisplayName(
DbConnectionStringKeywords
.Encrypt)]
465
SetValue(
DbConnectionStringKeywords
.Encrypt, value);
470
[DisplayName(
DbConnectionStringKeywords
.ColumnEncryptionSetting)]
486
[DisplayName(
DbConnectionStringKeywords
.EnclaveAttestationUrl)]
493
SetValue(
DbConnectionStringKeywords
.EnclaveAttestationUrl, value);
498
[DisplayName(
DbConnectionStringKeywords
.TrustServerCertificate)]
505
SetValue(
DbConnectionStringKeywords
.TrustServerCertificate, value);
510
[DisplayName(
DbConnectionStringKeywords
.Enlist)]
517
SetValue(
DbConnectionStringKeywords
.Enlist, value);
522
[DisplayName(
DbConnectionStringKeywords
.FailoverPartner)]
530
SetValue(
DbConnectionStringKeywords
.FailoverPartner, value);
535
[DisplayName(
DbConnectionStringKeywords
.InitialCatalog)]
543
SetValue(
DbConnectionStringKeywords
.InitialCatalog, value);
548
[DisplayName(
DbConnectionStringKeywords
.IntegratedSecurity)]
555
SetValue(
DbConnectionStringKeywords
.IntegratedSecurity, value);
560
[DisplayName(
DbConnectionStringKeywords
.Authentication)]
576
[DisplayName(
DbConnectionStringKeywords
.LoadBalanceTimeout)]
584
throw ADP.InvalidConnectionOptionValue(
DbConnectionStringKeywords
.LoadBalanceTimeout);
586
SetValue(
DbConnectionStringKeywords
.LoadBalanceTimeout, value);
591
[DisplayName(
DbConnectionStringKeywords
.MaxPoolSize)]
599
throw ADP.InvalidConnectionOptionValue(
DbConnectionStringKeywords
.MaxPoolSize);
601
SetValue(
DbConnectionStringKeywords
.MaxPoolSize, value);
606
[DisplayName(
DbConnectionStringKeywords
.ConnectRetryCount)]
614
throw ADP.InvalidConnectionOptionValue(
DbConnectionStringKeywords
.ConnectRetryCount);
616
SetValue(
DbConnectionStringKeywords
.ConnectRetryCount, value);
621
[DisplayName(
DbConnectionStringKeywords
.ConnectRetryInterval)]
629
throw ADP.InvalidConnectionOptionValue(
DbConnectionStringKeywords
.ConnectRetryInterval);
631
SetValue(
DbConnectionStringKeywords
.ConnectRetryInterval, value);
638
[DisplayName(
DbConnectionStringKeywords
.MinPoolSize)]
646
throw ADP.InvalidConnectionOptionValue(
DbConnectionStringKeywords
.MinPoolSize);
648
SetValue(
DbConnectionStringKeywords
.MinPoolSize, value);
653
[DisplayName(
DbConnectionStringKeywords
.MultipleActiveResultSets)]
660
SetValue(
DbConnectionStringKeywords
.MultipleActiveResultSets, value);
666
[DisplayName(
DbConnectionStringKeywords
.MultiSubnetFailover)]
673
SetValue(
DbConnectionStringKeywords
.MultiSubnetFailover, value);
678
[DisplayName(
DbConnectionStringKeywords
.TransparentNetworkIPResolution)]
686
SetValue(
DbConnectionStringKeywords
.TransparentNetworkIPResolution, value);
704
[DisplayName(
DbConnectionStringKeywords
.NetworkLibrary)]
739
throw ADP.InvalidConnectionOptionValue(
DbConnectionStringKeywords
.NetworkLibrary);
742
SetValue(
DbConnectionStringKeywords
.NetworkLibrary, value);
747
[DisplayName(
DbConnectionStringKeywords
.PacketSize)]
757
SetValue(
DbConnectionStringKeywords
.PacketSize, value);
762
[DisplayName(
DbConnectionStringKeywords
.Password)]
770
SetValue(
DbConnectionStringKeywords
.Password, value);
775
[DisplayName(
DbConnectionStringKeywords
.PersistSecurityInfo)]
782
SetValue(
DbConnectionStringKeywords
.PersistSecurityInfo, value);
787
[DisplayName(
DbConnectionStringKeywords
.Pooling)]
794
SetValue(
DbConnectionStringKeywords
.Pooling, value);
799
[DisplayName(
DbConnectionStringKeywords
.Replication)]
806
SetValue(
DbConnectionStringKeywords
.Replication, value);
811
[DisplayName(
DbConnectionStringKeywords
.TransactionBinding)]
818
SetValue(
DbConnectionStringKeywords
.TransactionBinding, value);
823
[DisplayName(
DbConnectionStringKeywords
.TypeSystemVersion)]
830
SetValue(
DbConnectionStringKeywords
.TypeSystemVersion, value);
835
[DisplayName(
DbConnectionStringKeywords
.UserID)]
842
SetValue(
DbConnectionStringKeywords
.UserID, value);
847
[DisplayName(
DbConnectionStringKeywords
.UserInstance)]
854
SetValue(
DbConnectionStringKeywords
.UserInstance, value);
859
[DisplayName(
DbConnectionStringKeywords
.WorkstationID)]
866
SetValue(
DbConnectionStringKeywords
.WorkstationID, value);
1013
if (
DbConnectionStringKeywords
.IntegratedSecurity == displayName) {
1017
else if ((
DbConnectionStringKeywords
.Password == displayName) ||
1018
(
DbConnectionStringKeywords
.UserID == displayName)) {
1183
base[
DbConnectionStringKeywords
.ApplicationIntent] = DbConnectionStringBuilderUtil.ApplicationIntentToString(value);
1188
base[
DbConnectionStringKeywords
.PoolBlockingPeriod] = DbConnectionStringBuilderUtil.PoolBlockingPeriodToString(value);
1192
base[
DbConnectionStringKeywords
.Authentication] = DbConnectionStringBuilderUtil.AuthenticationTypeToString(value);
1196
base[
DbConnectionStringKeywords
.ColumnEncryptionSetting] = DbConnectionStringBuilderUtil.ColumnEncryptionSettingToString(value);