DataCommand.ExecuteWithoutResults メソッド (String)

代わりにコマンドを実行し、結果を要求したり、呼び出しの結果を示す整数を返します。

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

構文

'宣言
Public Function ExecuteWithoutResults ( _
    command As String _
) As Integer
public int ExecuteWithoutResults(
    string command
)
public:
virtual int ExecuteWithoutResults(
    String^ command
) sealed
abstract ExecuteWithoutResults : 
        command:string -> int 
override ExecuteWithoutResults : 
        command:string -> int 
public final function ExecuteWithoutResults(
    command : String
) : int

パラメーター

  • command
    型 : System.String
    実装するデータ ソースに固有のコマンド。

戻り値

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

実装

IVsDataCommand.ExecuteWithoutResults(String)

例外

例外 条件
ArgumentNullException

command パラメーターが nullnull 参照 (Visual Basic では Nothing) です。

解説

多くの場合、このメソッドの呼び出しの結果に変更された行数を示します。

[!メモ]

例外は、ほかの実行がプロバイダー指定された理由で失敗したことを示します。

.NET Framework セキュリティ

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

参照

関連項目

DataCommand クラス

ExecuteWithoutResults オーバーロード

Microsoft.VisualStudio.Data.Framework 名前空間