DbConnectionStringBuilder::Count Property
.NET Framework (current version)
Gets the current number of keys that are contained within the ConnectionString property.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: System::Int32The number of keys that are contained within the connection string maintained by the DbConnectionStringBuilder instance.
Implements
ICollection::CountThe following example demonstrates the Count property both before and after you modify the contents of the ConnectionString property.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: