IVsDataCommand.DeriveParameters メソッド (String, DataCommandType, Int32)

クラスで実装すると、特定のコマンドに指定できるパラメーターを取得します。

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

構文

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

パラメーター

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

戻り値

型 : array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
IVsDataParameter オブジェクトの配列。各オブジェクトには、コマンドから派生したパラメーターを表します。

.NET Framework セキュリティ

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

参照

関連項目

IVsDataCommand インターフェイス

DeriveParameters オーバーロード

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