ADODC.CommandType 属性
定义
重要
此 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 枚举,用于指定命令类型。A ADODB.CommandTypeEnum enumeration that specifies the command type.
- 属性
注解
设置此属性将优化命令的执行。Setting this property optimizes the execution of the command.
备注
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.