非同期を取得します DeriveSchema 同期のメソッド呼び出しにスキーマの操作をディスパッチします。
名前空間: Microsoft.VisualStudio.Data.Framework
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)
構文
'宣言
Protected Overridable Function OnDeriveSchema ( _
command As String, _
commandType As DataCommandType, _
parameters As IVsDataParameter(), _
commandTimeout As Integer _
) As IVsDataReader
protected virtual IVsDataReader OnDeriveSchema(
string command,
DataCommandType commandType,
IVsDataParameter[] parameters,
int commandTimeout
)
protected:
virtual IVsDataReader^ OnDeriveSchema(
String^ command,
DataCommandType commandType,
array<IVsDataParameter^>^ parameters,
int commandTimeout
)
abstract OnDeriveSchema :
command:string *
commandType:DataCommandType *
parameters:IVsDataParameter[] *
commandTimeout:int -> IVsDataReader
override OnDeriveSchema :
command:string *
commandType:DataCommandType *
parameters:IVsDataParameter[] *
commandTimeout:int -> IVsDataReader
protected function OnDeriveSchema(
command : String,
commandType : DataCommandType,
parameters : IVsDataParameter[],
commandTimeout : int
) : IVsDataReader
パラメーター
- command
型 : System.String
スキーマが派生するコマンド。
- commandType
型 : Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
名前付きコマンドのコマンドの型を表す DataCommandType の列挙体の値。値は command のパラメーターの内容を解釈する方法を指定します。
- parameters
型 : array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
コマンドに渡すパラメーターのリスト。
- commandTimeout
型 : System.Int32
時間、コマンドがタイムアウト秒単位)。
戻り値
型 : Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
IVsDataReader オブジェクト。このオブジェクトは指定されたコマンドを実行したときに返されるリーダーのオブジェクトに項目とブロックのつまり、スキーマのレイアウトを記述する前方スクロール専用、読み取り専用データ ストリームを提供します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。