When implemented by a class, executes a command 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
'宣言
Function ExecuteWithoutResults ( _
command As String, _
commandType As DataCommandType _
) As Integer
'使用
Dim instance As IVsDataCommand
Dim command As String
Dim commandType As DataCommandType
Dim returnValue As Integer
returnValue = instance.ExecuteWithoutResults(command, _
commandType)
int ExecuteWithoutResults(
string command,
DataCommandType commandType
)
int ExecuteWithoutResults(
String^ command,
DataCommandType commandType
)
function ExecuteWithoutResults(
command : String,
commandType : DataCommandType
) : int
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: System.Int32
A DDEX provider–specific integer status code.
Permissions
- 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