Definition at line 387 of file DbConnectionStringBuilder.cs.
388 {
389 long scopeId = DataCommonEventSource.Log.EnterScope(
"<comm.DbConnectionStringBuilder.GetProperties|API> {0}",
ObjectID);
390 try
391 {
395 {
396 if (
"ConnectionString" !=
property.Name)
397 {
400 {
404 }
405 }
407 {
409 }
410 else
411 {
413 }
414 }
416 {
417 return;
418 }
421 {
423 {
424 continue;
425 }
429 {
432 {
435 {
437 }
439 {
441 }
442 }
443 }
444 else
445 {
447 }
449 if (StringComparer.OrdinalIgnoreCase.Equals(
"Password",
key) || StringComparer.OrdinalIgnoreCase.Equals(
"pwd",
key))
450 {
452 {
456 };
457 }
459 {
461 {
464 };
466 }
469 }
470 }
471 finally
472 {
473 DataCommonEventSource.Log.ExitScope(scopeId);
474 }
475 }
bool ContainsKey(TKey key)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
bool ICollection< KeyValuePair< TKey, TValue > >. IsReadOnly
static readonly BrowsableAttribute Yes
static readonly PasswordPropertyTextAttribute Yes
static PropertyDescriptorCollection GetProperties([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentType)
bool BrowsableConnectionString
Attribute[] GetAttributesFromCollection(AttributeCollection collection)
References System.Data.Common.DbConnectionStringBuilder.BrowsableConnectionString, System.Collections.Generic.Dictionary< TKey, TValue >.ContainsKey(), System.Data.Common.DbConnectionStringBuilder.Dictionary, System.Data.Common.DbConnectionStringBuilder.GetAttributesFromCollection(), System.ComponentModel.TypeDescriptor.GetProperties(), System.Data.Common.DbConnectionStringBuilder.IsFixedSize, System.Collections.Generic.Dictionary< TKey, TValue >.IsReadOnly, System.key, System.Data.Common.DbConnectionStringBuilder.Keys, System.Data.DataCommonEventSource.Log, System.obj, System.Data.Common.DbConnectionStringBuilder.ObjectID, System.StringComparer.OrdinalIgnoreCase, System.Collections.Generic.Dictionary< TKey, TValue >.Remove(), System.type, System.value, System.ComponentModel.BrowsableAttribute.Yes, and System.ComponentModel.PasswordPropertyTextAttribute.Yes.