Condividi tramite


Metodo DataAsyncCommand.OnDeriveSchema

Invia le forme derivano l'operazione dello schema della chiamata al metodo sincrona DeriveSchema.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Sintassi

'Dichiarazione
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

Parametri

  • command
    Tipo: String

    Il comando per il quale lo schema viene derivato.

  • commandTimeout
    Tipo: Int32

    Quantità di tempo, in secondi, prima della quale il comando scade.

Valore restituito

Tipo: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
Un oggetto IVsDataReader.Questo oggetto fornisce un flusso di dati forward-only in sola lettura che descrive il layout degli elementi e dei blocchi, ovvero, lo schema, per l'oggetto del lettore restituito eseguendo il comando specificato.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DataAsyncCommand Classe

Spazio dei nomi Microsoft.VisualStudio.Data.Framework