Export (0) Print
Expand All

OracleClientFactory.CreateConnectionStringBuilder Method

Returns a strongly typed DbConnectionStringBuilder instance.

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

public override DbConnectionStringBuilder CreateConnectionStringBuilder()

Return Value

Type: System.Data.Common.DbConnectionStringBuilder
A new strongly typed instance of DbConnectionStringBuilder.

The following code fragment returns a strongly typed DbConnectionStringBuilder instance.

[Visual Basic]

Dim newFactory As OracleClientFactory = OracleClientFactory.Instance
Dim connectionBuilder As DbConnectionStringBuilder = newFactory.CreateConnectionStringBuilder()

[C#]

OracleClientFactory newFactory = OracleClientFactory.Instance;
DbConnectionStringBuilder connectionBuilder = newFactory.CreateConnectionStringBuilder();

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft