Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[BrowsableAttribute(false)]
property int Count {
	virtual int 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:
© 2017 Microsoft