Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

BusinessLogicCommand Class

Topic Status: Some information in this topic is pre-release and subject to change in future releases. Pre-release information describes new features or changes to existing features in Microsoft SQL Server 2014.

Represents a business logic command.


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

public class BusinessLogicCommand : IDbCommand, 

The BusinessLogicCommand type exposes the following members.

Public methodBusinessLogicCommand()Initializes a new instance of the BusinessLogicCommand class.
Public methodBusinessLogicCommand(String)Initializes a new instance of the BusinessLogicCommand class.
Public methodBusinessLogicCommand(BusinessLogicConnection)Initializes a new instance of the BusinessLogicCommand class.
Public methodBusinessLogicCommand(BusinessLogicConnection, TempDBResultSet)Initializes a new instance of the BusinessLogicCommand class.
Public methodBusinessLogicCommand(String, BusinessLogicConnection, BusinessLogicTransaction)Initializes a new instance of the BusinessLogicCommand class.

Public propertyCommandTextGets or sets the text command to run against the data source.
Public propertyCommandTimeoutGets or sets the time in seconds to wait for the command to execute.
Public propertyCommandTypeGets or sets the command type.
Public propertyConnectionGets or sets the connection to the data source.
Public propertyParametersGets the collection of business logic parameters.
Public propertyTransactionGets or sets the transaction within which the command executes.
Public propertyUpdatedRowSourceGets or sets the updated row source.

Public methodCancelCancels the execution of a BusinessLogicCommand.
Public methodCreateParameterCreates a new instance of an IDbDataParameter object.
Public methodDisposeReleases all resources used by the current instance of the BusinessLogicCommand.
Public methodEquals (Inherited from Object.)
Public methodExecuteNonQueryExecutes a statement against a connection object.
Public methodExecuteReader()Executes the CommandText against the Connection, and returns an IDataReader.
Public methodExecuteReader(CommandBehavior)Executes the CommandText against the Connection, and returns an IDataReader using one of the CommandBehavior.
Public methodExecuteScalarExecutes the query and returns the first column of the first row in the result set returned by the query.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPrepareCreates a prepared version of the command on the data source.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft