IVsDataCommand.ExecuteWithoutResults-Methode (String, DataCommandType)
Wenn Sie von einer Klasse implementiert werden, wird ausgeführt, einen Befehl jedoch erfordert keine Ergebnisse und gibt eine ganze Zahl stattdessen das Ergebnis des Aufrufs angibt zurück.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function ExecuteWithoutResults ( _
command As String, _
commandType As DataCommandType _
) As Integer
int ExecuteWithoutResults(
string command,
DataCommandType commandType
)
int ExecuteWithoutResults(
String^ command,
DataCommandType commandType
)
abstract ExecuteWithoutResults :
command:string *
commandType:DataCommandType -> int
function ExecuteWithoutResults(
command : String,
commandType : DataCommandType
) : int
Parameter
command
Typ: StringEin Befehl auszuführen, der einer Datenquelle.
commandType
Typ: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandTypeEin Wert aus der DataCommandType-Enumeration, die den Befehlstyp für den angegebenen Befehl darstellt, die angibt, wie der Inhalt des command-Parameters interpretiert.
Rückgabewert
Typ: Int32
Ein anbieterspezifischer ganzzahliger Statuscode DDEX.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
ExecuteWithoutResults-Überladung
Microsoft.VisualStudio.Data.Services.SupportEntities-Namespace