BusinessLogicConnection.CreateCommand Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Return Value

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

Implements

IDbConnection.CreateCommand()

See Also

Reference

BusinessLogicConnection Class

Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace