IVsDataCommand.ExecuteWithoutResults 方法 (String, DataCommandType, array<IVsDataParameter )
當由類別實作時,執行 命令,並選擇性地使用參數,則傳回,而不需要結果,而是傳回表示呼叫的結果整數。
命名空間: Microsoft.VisualStudio.Data.Services.SupportEntities
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
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
參數
- command
型別:System.String
物件是針對資料來源執行的命令。
- commandType
型別:Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
表示所表示之命令的 DataCommandType 列舉型別中的值順序型別,指定如何解譯 command 參數的內容。
- parameters
型別:array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
陣列 DataParameter 指定的命令類型物件。 雖然這是輸入參數時,提供者可以在個別的和傳回值參數的屬性。
傳回值
型別:System.Int32
DDEX 提供者特定的整數狀態碼。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。