DataAsyncCommand.OnDeriveSchema 方法
分派非同步取得結構描述作業同步處理 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
類型:String結構描述衍生自類別的命令。
commandType
類型:Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType表示所表示之命令的 DataCommandType 列舉值的命令類型。 值會指定如何解譯 command 參數的內容。
parameters
類型:array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]要傳遞的參數清單與命令。
commandTimeout
類型:Int32時間,以秒為單位),在目前的命令逾時。
傳回值
類型:Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
IVsDataReader 物件。這個物件提供讀取器物件提供說明項目和區塊,也就是說,結構描述設定的順向、唯讀,資料流,傳回在執行指定的命令。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。