AdoDotNetConnectionSupport.DeriveParametersCore, méthode
Dérive les paramètres qui peuvent être spécifiés pour une commande donnée.
Espace de noms : Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly : Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)
Syntaxe
'Déclaration
Protected Overridable Function DeriveParametersCore ( _
command As String, _
commandType As DataCommandType, _
commandTimeout As Integer _
) As IVsDataParameter()
protected virtual IVsDataParameter[] DeriveParametersCore(
string command,
DataCommandType commandType,
int commandTimeout
)
protected:
virtual array<IVsDataParameter^>^ DeriveParametersCore(
String^ command,
DataCommandType commandType,
int commandTimeout
)
abstract DeriveParametersCore :
command:string *
commandType:DataCommandType *
commandTimeout:int -> IVsDataParameter[]
override DeriveParametersCore :
command:string *
commandType:DataCommandType *
commandTimeout:int -> IVsDataParameter[]
protected function DeriveParametersCore(
command : String,
commandType : DataCommandType,
commandTimeout : int
) : IVsDataParameter[]
Paramètres
- command
Type : System.String
Un ordre spécifique à la source de données à partir de dériver des paramètres.
- commandType
Type : Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
Le type de commande pour l'ordre indiqué, spécifiant comment interpréter le contenu du paramètre d' command .
- commandTimeout
Type : System.Int32
La durée, en secondes, pour bloquer le client avant d'annuler la dérivation de paramètre et retourner à l'appelant.La valeur zéro indique la minuterie infinie ; la valeur -1 indique une valeur par défaut de fournisseur.
Valeur de retour
Type : array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
Un tableau d' IVsDataParameter objets, chacun représentant un paramètre dérivé de la commande.
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