DbConnectionStringBuilder.Count Property

 

Gets the current number of keys that are contained within the ConnectionString property.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

[<BrowsableAttribute(false)>]
abstract Count : int with get
[<BrowsableAttribute(false)>]
override Count : int with get

Property Value

Type: System.Int32

The number of keys that are contained within the connection string maintained by the DbConnectionStringBuilder instance.

The following example demonstrates the Count property both before and after you modify the contents of the ConnectionString property.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: