IVsDataCommand.ExecuteWithoutResults Method (String, DataCommandType, array<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.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaración
Function ExecuteWithoutResults ( _
command As String, _
commandType As DataCommandType, _
parameters As IVsDataParameter() _
) As Integer
int ExecuteWithoutResults(
string command,
DataCommandType commandType,
IVsDataParameter[] parameters
)
int ExecuteWithoutResults(
String^ command,
DataCommandType commandType,
array<IVsDataParameter^>^ parameters
)
abstract ExecuteWithoutResults :
command:string *
commandType:DataCommandType *
parameters:IVsDataParameter[] -> int
function ExecuteWithoutResults(
command : String,
commandType : DataCommandType,
parameters : IVsDataParameter[]
) : int
Parameters
- command
Type: System.String
A command to execute that is specific to a data source.
- commandType
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.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
Type: array<Microsoft.VisualStudio.Data.Services.SupportEntities.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.
Return Value
Type: System.Int32
A DDEX provider–specific integer status code.
.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
ExecuteWithoutResults Overload
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace