AdoDotNetConnectionSupport.GetCommandType, méthode
Convertit une valeur d'énumération d' DataCommandType à sa valeur correspondante dans l'énumération d' CommandType .
Espace de noms : Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly : Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)
Syntaxe
'Déclaration
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
Paramètres
- commandType
Type : Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
Le type de données à convertir.
Valeur de retour
Type : System.Data.CommandType
Valeur d'énumération CommandType.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
AdoDotNetConnectionSupport Classe
Microsoft.VisualStudio.Data.Framework.AdoDotNet, espace de noms