IVsDataCommand.Prepare Method (String)

When implemented by a class, prepares the specified command on the data source to be executed; the command may then be executed multiple times, with varying parameters.

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

Syntax

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

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

Parameters

  • command
    Type: System.String

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

Return Value

Type: System.String

An identifier of the prepared command that you can later pass to the Execute or ExecuteWithoutResults methods by using the command type Prepared.

Permissions

See Also

Reference

IVsDataCommand Interface

IVsDataCommand Members

Prepare Overload

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace