Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Function Execute ( _
    command As String, _
    commandType As DataCommandType _
) As IVsDataReader
IVsDataReader Execute(
    string command,
    DataCommandType commandType
)
IVsDataReader^ Execute(
    String^ command, 
    DataCommandType commandType
)
abstract Execute : 
        command:string * 
        commandType:DataCommandType -> IVsDataReader
function Execute(
    command : String, 
    commandType : DataCommandType
) : IVsDataReader
Parameters
command
Type: System.StringA command to execute that is specific to a data source.
commandType
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandTypeA value from the DataCommandType enumeration representing the command type for the indicated command, specifying how to interpret the contents of the command parameter.
Return Value
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
An IVsDataReader object, which provides a forward-only, read-only stream from the data source.
.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