Freigeben über


BusinessLogicConnection.CreateCommand-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntax

'Declaration
Public Function CreateCommand As IDbCommand
'Usage
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

Rückgabewert

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

Implementiert

IDbConnection.CreateCommand()

Siehe auch

Verweis

BusinessLogicConnection Klasse

Microsoft.SqlServer.Replication.BusinessLogicSupport-Namespace