IVsDataCommand.ExecuteWithoutResults メソッド (String, DataCommandType, array<IVsDataParameter , Int32)

代わりに、クラスによって実装されると、パラメーターに、コマンドをオプションで実行し、結果を要求したり、呼び出しの結果を示す整数を返します。

名前空間:  Microsoft.VisualStudio.Data.Services.SupportEntities
アセンブリ:  Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)

構文

'宣言
Function ExecuteWithoutResults ( _
    command As String, _
    commandType As DataCommandType, _
    parameters As IVsDataParameter(), _
    commandTimeout As Integer _
) As Integer
int ExecuteWithoutResults(
    string command,
    DataCommandType commandType,
    IVsDataParameter[] parameters,
    int commandTimeout
)
int ExecuteWithoutResults(
    String^ command, 
    DataCommandType commandType, 
    array<IVsDataParameter^>^ parameters, 
    int commandTimeout
)
abstract ExecuteWithoutResults : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] * 
        commandTimeout:int -> int 
function ExecuteWithoutResults(
    command : String, 
    commandType : DataCommandType, 
    parameters : IVsDataParameter[], 
    commandTimeout : int
) : int

パラメーター

  • command
    型 : System.String
    実装するデータ ソースに固有のコマンド。
  • commandTimeout
    型 : System.Int32
    実行をキャンセルし、呼び出し元に戻す前にクライアントをブロック時間 (秒)。0 という値は無限タイムアウトを示しています; 値 -1 は、プロバイダーの既定値を表示します。

戻り値

型 : System.Int32
DDEX プロバイダー固有の整数のステータス コード。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

IVsDataCommand インターフェイス

ExecuteWithoutResults オーバーロード

Microsoft.VisualStudio.Data.Services.SupportEntities 名前空間