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
commandType
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandTypeThe data command type to be converted.
Return Value
Type: System.Data.CommandType
A CommandType enumeration value.
Permissions
- 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.
See Also
Reference
AdoDotNetConnectionSupport Class