次の方法で共有


IVsDataCommand.ExecuteWithoutResults Method

Definition

Overloads

ExecuteWithoutResults(String)

When implemented by a class, executes a command but does not request results, instead returning an integer indicating the outcome of the call.

ExecuteWithoutResults(String, DataCommandType)

When implemented by a class, executes a command but does not request results, instead returning an integer indicating the outcome of the call.

ExecuteWithoutResults(String, DataCommandType, IVsDataParameter[])

When implemented by a class, executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call.

ExecuteWithoutResults(String, DataCommandType, IVsDataParameter[], Int32)

When implemented by a class, executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call.

ExecuteWithoutResults(String)

When implemented by a class, executes a command but does not request results, instead returning an integer indicating the outcome of the call.

public:
 int ExecuteWithoutResults(System::String ^ command);
public int ExecuteWithoutResults (string command);
abstract member ExecuteWithoutResults : string -> int
Public Function ExecuteWithoutResults (command As String) As Integer

Parameters

command
String

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

Returns

A DDEX provider–specific integer status code.

Applies to

ExecuteWithoutResults(String, DataCommandType)

When implemented by a class, executes a command but does not request results, instead returning an integer indicating the outcome of the call.

public:
 int ExecuteWithoutResults(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType);
public int ExecuteWithoutResults (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType);
abstract member ExecuteWithoutResults : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType -> int
Public Function ExecuteWithoutResults (command As String, commandType As DataCommandType) As Integer

Parameters

command
String

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

commandType
DataCommandType

A value from the DataCommandType enumeration representing the command type for the indicated command, specifying how to interpret the contents of the command parameter.

Returns

A DDEX provider–specific integer status code.

Applies to

ExecuteWithoutResults(String, DataCommandType, IVsDataParameter[])

When implemented by a class, executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call.

public:
 int ExecuteWithoutResults(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType, cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ parameters);
public int ExecuteWithoutResults (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] parameters);
abstract member ExecuteWithoutResults : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] -> int
Public Function ExecuteWithoutResults (command As String, commandType As DataCommandType, parameters As IVsDataParameter()) As Integer

Parameters

command
String

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

commandType
DataCommandType

A value from the DataCommandType enumeration representing the command type for the indicated command, specifying how to interpret the contents of the command parameter.

parameters
IVsDataParameter[]

An array of DataParameter objects for the specified command type. While this is an input parameter, the provider is still able to set properties on individual out and return value parameters.

Returns

A DDEX provider–specific integer status code.

Applies to

ExecuteWithoutResults(String, DataCommandType, IVsDataParameter[], Int32)

When implemented by a class, executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call.

public:
 int ExecuteWithoutResults(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType, cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ parameters, int commandTimeout);
public int ExecuteWithoutResults (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] parameters, int commandTimeout);
abstract member ExecuteWithoutResults : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] * int -> int
Public Function ExecuteWithoutResults (command As String, commandType As DataCommandType, parameters As IVsDataParameter(), commandTimeout As Integer) As Integer

Parameters

command
String

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

commandType
DataCommandType

A value from the DataCommandType enumeration representing the command type for the indicated command, specifying how to interpret the contents of the command parameter.

parameters
IVsDataParameter[]

An array of DataParameter objects for the specified command type. While this is an input parameter, the provider is still able to set properties on individual out and return value parameters.

commandTimeout
Int32

The length of time, in seconds, to block the client before canceling the execution and returning to the caller. A value of 0 indicates infinite time-out; a value of -1 indicates a provider default.

Returns

A DDEX provider–specific integer status code.

Applies to