OleDbFactory.CreateCommandBuilder Methode

Definition

Gibt eine stark typisierte DbCommandBuilder-Instanz zurück.

public:
 override System::Data::Common::DbCommandBuilder ^ CreateCommandBuilder();
public override System.Data.Common.DbCommandBuilder CreateCommandBuilder ();
override this.CreateCommandBuilder : unit -> System.Data.Common.DbCommandBuilder
Public Overrides Function CreateCommandBuilder () As DbCommandBuilder

Gibt zurück

Eine neue stark typisierte DbCommandBuilder-Instanz.

Beispiele

Das folgende Codefragment gibt eine stark typisierte DbCommandBuilder Instanz zurück:

Dim newFactory As OleDbFactory = OleDbFactory.Instance
Dim cmd As DbCommandBuilder = newFactory.CreateCommandBuilder()
OleDbFactory newFactory = OleDbFactory.Instance;
DbCommandBuilder cmd = newFactory.CreateCommandBuilder();

Gilt für: