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