クラスで実装された場合、実行されたデータ ソースで指定されたコマンドを準備します; コマンドは、複数回さまざまなパラメーター、実行される場合があります。
名前空間: Microsoft.VisualStudio.Data.Services.SupportEntities
アセンブリ: Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)
構文
'宣言
Function Prepare ( _
command As String, _
commandType As DataCommandType _
) As String
string Prepare(
string command,
DataCommandType commandType
)
String^ Prepare(
String^ command,
DataCommandType commandType
)
abstract Prepare :
command:string *
commandType:DataCommandType -> string
function Prepare(
command : String,
commandType : DataCommandType
) : String
パラメーター
- command
型 : System.String
実装するデータ ソースに固有のコマンド。
- commandType
型 : Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
指定する名前付きコマンドのコマンドの型を表す DataCommandType の列挙体からの値 command のパラメーターの内容を解釈する方法を示します。
戻り値
型 : System.String
、ExecuteWithoutResults のメソッドまたは Execute にコマンドの種類 Preparedの使用後にを渡すことができる準備したコマンドの識別子。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。