OleDbFactory.CreateConnectionStringBuilder Method ()

 

Returns a strongly-typed DbConnectionStringBuilder instance.

Namespace:   System.Data.OleDb
Assembly:  System.Data (in System.Data.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:

OleDbFactory newFactory = OleDbFactory.Instance;
DbConnectionStringBuilder cmd = newFactory.CreateConnectionStringBuilder();

.NET Framework
Available since 2.0
Return to top
Show: