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

'Declaration
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

Parameters

Return Value

Type: System.Data.CommandType
A CommandType enumeration value.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace