OdbcFactory.CreateDataAdapter OdbcFactory.CreateDataAdapter OdbcFactory.CreateDataAdapter OdbcFactory.CreateDataAdapter Method

定義

厳密に型指定された DbDataAdapter インスタンスを返します。Returns a strongly-typed DbDataAdapter instance.

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

戻り値

DbDataAdapter の新しい厳密に型指定されたインスタンス。A new strongly-typed instance of DbDataAdapter.

次のコード フラグメントは、厳密に型を返しますDbDataAdapterインスタンス。The following code fragment returns a strongly-typed DbDataAdapter instance:

Dim newFactory As OdbcFactory = OdbcFactory.Instance  
Dim cmd As DbDataAdapter = newFactory.CreateDataAdapter()  
OdbcFactory newFactory = OdbcFactory.Instance;  
DbDataAdapter cmd = newFactory.CreateDataAdapter();  

適用対象