IVsDataCommand.DeriveSchema Method (String)

When implemented by a class, derives the schema returned from a specified command. The schema indicates the layout of items and blocks in a data reader.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Function DeriveSchema ( _
    command As String _
) As IVsDataReader
'使用
Dim instance As IVsDataCommand
Dim command As String
Dim returnValue As IVsDataReader

returnValue = instance.DeriveSchema(command)
IVsDataReader DeriveSchema(
    string command
)
IVsDataReader^ DeriveSchema(
    String^ command
)
function DeriveSchema(
    command : String
) : IVsDataReader

Parameters

  • command
    Type: System.String

    A command for which to derive the schema that is specific to a data source.

Return Value

Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader

An IVsDataReader object. This object provides a forward-only, read-only data stream that describes the layout of items and blocks, that is, the schema, for the reader object returned upon executing the specified command.

Permissions

See Also

Reference

IVsDataCommand Interface

IVsDataCommand Members

DeriveSchema Overload

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace