パラメーターが DeriveParameters のメソッドを使用して取得したかどうかのパラメーター オブジェクトを使用して AdoDotNetParameter のクラスおよび問題の新しいインスタンスを初期化します。
名前空間: Microsoft.VisualStudio.Data.Framework.AdoDotNet
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)
構文
'宣言
Public Sub New ( _
parameter As DbParameter, _
isDerived As Boolean _
)
public AdoDotNetParameter(
DbParameter parameter,
bool isDerived
)
public:
AdoDotNetParameter(
DbParameter^ parameter,
bool isDerived
)
new :
parameter:DbParameter *
isDerived:bool -> AdoDotNetParameter
public function AdoDotNetParameter(
parameter : DbParameter,
isDerived : boolean
)
パラメーター
- parameter
型 : System.Data.Common.DbParameter
コマンド パラメーターを含む DbParameter のオブジェクト。
- isDerived
型 : System.Boolean
データ パラメーターのインスタンスが DeriveParameters でメソッドの戻り値として作成されているかどうかを示します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。