Partager via


Méthode BusinessLogicConnection.CreateCommand

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Creates and returns an IDbCommand object associated with the current connection.

Espace de noms :  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly :  Microsoft.SqlServer.Replication.BusinessLogicSupport (en Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntaxe

'Déclaration
Public Function CreateCommand As IDbCommand
'Utilisation
Dim instance As BusinessLogicConnection 
Dim returnValue As IDbCommand 

returnValue = instance.CreateCommand()
public IDbCommand CreateCommand()
public:
virtual IDbCommand^ CreateCommand() sealed
abstract CreateCommand : unit -> IDbCommand  
override CreateCommand : unit -> IDbCommand
public final function CreateCommand() : IDbCommand

Valeur de retour

Type : System.Data.IDbCommand
The newly created command.

Implémente

IDbConnection.CreateCommand()

Voir aussi

Référence

BusinessLogicConnection Classe

Espace de noms Microsoft.SqlServer.Replication.BusinessLogicSupport