AdoDotNetConnectionSupport.GetCommandType 方法

DataCommandType 的枚举值转换为其在 CommandType 枚举的对应值。

命名空间:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
Protected Shared Function GetCommandType ( _
    commandType As DataCommandType _
) As CommandType
protected static CommandType GetCommandType(
    DataCommandType commandType
)
protected:
static CommandType GetCommandType(
    DataCommandType commandType
)
static member GetCommandType : 
        commandType:DataCommandType -> CommandType 
protected static function GetCommandType(
    commandType : DataCommandType
) : CommandType

参数

返回值

类型:System.Data.CommandType
一个 CommandType 枚举值。

.NET Framework 安全性

请参见

参考

AdoDotNetConnectionSupport 类

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空间