代わりに、パラメーターのコマンドを、オプションで実行し、結果を要求したり、呼び出しの結果を示す整数を返します。
名前空間: Microsoft.VisualStudio.Data.Framework
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)
構文
'宣言
Public Function ExecuteWithoutResults ( _
command As String, _
commandType As DataCommandType, _
parameters As IVsDataParameter() _
) As Integer
public int ExecuteWithoutResults(
string command,
DataCommandType commandType,
IVsDataParameter[] parameters
)
public:
virtual int ExecuteWithoutResults(
String^ command,
DataCommandType commandType,
array<IVsDataParameter^>^ parameters
) sealed
abstract ExecuteWithoutResults :
command:string *
commandType:DataCommandType *
parameters:IVsDataParameter[] -> int
override ExecuteWithoutResults :
command:string *
commandType:DataCommandType *
parameters:IVsDataParameter[] -> int
public final function ExecuteWithoutResults(
command : String,
commandType : DataCommandType,
parameters : IVsDataParameter[]
) : int
パラメーター
- command
型 : System.String
実装するデータ ソースに固有のコマンド。
- commandType
型 : Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
command のパラメーターの内容を解釈する方法を指定するコマンドの型。コマンドの型は DataCommandType の列挙体からの値、整数変換をから DataCommandType の列挙型にキャストを渡すことができるプロバイダーで定義したカスタム コマンドの型であることができます。
- parameters
型 : array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
指定したコマンドのコマンド パラメーターを表す IVsDataParameter のオブジェクト配列は入力します。
戻り値
型 : System.Int32
DDEX プロバイダー固有の整数のステータス コード。
実装
IVsDataCommand.ExecuteWithoutResults(String, DataCommandType, array<IVsDataParameter[])
例外
| 例外 | 条件 |
|---|---|
| ArgumentNullException | command パラメーターが nullnull 参照 (Visual Basic では Nothing) です。 |
解説
多くの場合、このメソッドの呼び出しの結果に変更された行数を示します。
この呼び出しを使用して、また、戻り値パラメーター。これらは結果の一部とは見なされません。
[!メモ]
例外は、ほかの実行がプロバイダー指定された理由で失敗したことを示します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。