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
Available since 2.0
Return to top
Show: