AdoDotNetConnectionSupport.GetCommandType Method

Converts an enumeration value from DataCommandType to its corresponding value in the CommandType enumeration.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'宣言
Protected Shared Function GetCommandType ( _
    commandType As DataCommandType _
) As CommandType
'使用
Dim commandType As DataCommandType
Dim returnValue As CommandType

returnValue = AdoDotNetConnectionSupport.GetCommandType(commandType)
protected static CommandType GetCommandType(
    DataCommandType commandType
)
protected:
static CommandType GetCommandType(
    DataCommandType commandType
)
protected static function GetCommandType(
    commandType : DataCommandType
) : CommandType

Parameters

Return Value

Type: System.Data.CommandType

A CommandType enumeration value.

Permissions

See Also

Reference

AdoDotNetConnectionSupport Class

AdoDotNetConnectionSupport Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace