Condividi tramite


Metodo BusinessLogicConnection.CreateCommand

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

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

Spazio dei nomi  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Sintassi

'Dichiarazione
Public Function CreateCommand As IDbCommand
'Utilizzo
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

Valore restituito

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

Implementa

IDbConnection.CreateCommand()

Vedere anche

Riferimento

BusinessLogicConnection Classe

Spazio dei nomi Microsoft.SqlServer.Replication.BusinessLogicSupport