IVsDataCommand.Execute メソッド (String, DataCommandType)

クラスで実装された場合、指定したコマンドを実行し、読み取り専用の結果を返します。

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

構文

'宣言
Function Execute ( _
    command As String, _
    commandType As DataCommandType _
) As IVsDataReader
IVsDataReader Execute(
    string command,
    DataCommandType commandType
)
IVsDataReader^ Execute(
    String^ command, 
    DataCommandType commandType
)
abstract Execute : 
        command:string * 
        commandType:DataCommandType -> IVsDataReader 
function Execute(
    command : String, 
    commandType : DataCommandType
) : IVsDataReader

パラメーター

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

戻り値

型 : Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
データ ソースの前方スクロール専用、読み取り専用ストリームを提供する IVsDataReader のオブジェクト。

.NET Framework セキュリティ

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

参照

関連項目

IVsDataCommand インターフェイス

Execute オーバーロード

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