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
'Déclaration
Function DeriveSchema ( _
command As String _
) As IVsDataReader
IVsDataReader DeriveSchema(
string command
)
IVsDataReader^ DeriveSchema(
String^ command
)
abstract DeriveSchema :
command:string -> IVsDataReader
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace