IVsDataCommand.Execute Method (String)

When implemented by a class, executes a specified command and returns read-only results.

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

Syntax

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

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

Parameters

  • command
    Type: System.String

    A command to execute that is specific to a data source.

Return Value

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

An IVsDataReader object, which provides a forward-only, read-only stream from the data source.

Permissions

See Also

Reference

IVsDataCommand Interface

IVsDataCommand Members

Execute Overload

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace