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
commandType
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandTypeThe data command type to be converted.
Return Value
Type: System.Data.CommandType
A CommandType enumeration value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.