ADODC.CommandType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 API 不符合 CLS 規範。
public:
property ADODB::CommandTypeEnum CommandType { ADODB::CommandTypeEnum get(); void set(ADODB::CommandTypeEnum value); };
[Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCCommandType")]
[System.CLSCompliant(false)]
public ADODB.CommandTypeEnum CommandType { get; set; }
[<Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCCommandType")>]
[<System.CLSCompliant(false)>]
member this.CommandType : ADODB.CommandTypeEnum with get, set
Public Property CommandType As CommandTypeEnum
屬性值
ADODB.CommandTypeEnum
一個 ADODB.CommandTypeEnum 列舉,用來指定指令類型。
- 屬性
備註
設定此屬性可優化指令執行。
Note
命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。