AdoDotNetConnectionSupport.ExecuteWithoutResults メソッド

代わりに、パラメーターのコマンドを、オプションで実行し、結果を要求したり、呼び出しの結果を示す整数を返します。

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

構文

'宣言
Public Overridable Function ExecuteWithoutResults ( _
    command As String, _
    commandType As Integer, _
    parameters As DataParameter(), _
    commandTimeout As Integer _
) As Integer
public virtual int ExecuteWithoutResults(
    string command,
    int commandType,
    DataParameter[] parameters,
    int commandTimeout
)
public:
virtual int ExecuteWithoutResults(
    String^ command, 
    int commandType, 
    array<DataParameter^>^ parameters, 
    int commandTimeout
)
abstract ExecuteWithoutResults : 
        command:string * 
        commandType:int * 
        parameters:DataParameter[] * 
        commandTimeout:int -> int 
override ExecuteWithoutResults : 
        command:string * 
        commandType:int * 
        parameters:DataParameter[] * 
        commandTimeout:int -> int 
public function ExecuteWithoutResults(
    command : String, 
    commandType : int, 
    parameters : DataParameter[], 
    commandTimeout : int
) : int

パラメーター

  • command
    型 : System.String
    実装するデータ ソース固有のコマンド。
  • commandType
    型 : System.Int32
    指定する名前付きの型 command コマンドのパラメーターの内容を解釈する方法を示します。
  • commandTimeout
    型 : System.Int32
    スキーマの派生をキャンセルし、呼び出し元に戻す前にクライアントをブロック時間 (秒)。は、ゼロ値は無限タイムアウトを示しています; 値 -1 は、プロバイダーの既定値を表示します。

戻り値

型 : System.Int32
データ プロバイダー固有の整数のステータス コードを返します。

解説

ほとんどの場合、このメソッドの呼び出しの結果に変更された行数を示すものです。

戻り値のパラメーターは、この呼び出しを使用して設定されます。これらは結果の一部とは見なされません。

.NET Framework セキュリティ

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

参照

関連項目

AdoDotNetConnectionSupport クラス

Microsoft.VisualStudio.Data.AdoDotNet 名前空間