BusinessLogicCommand 類別
Represents a business logic command.
繼承階層
System.Object
Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicCommand
命名空間: Microsoft.SqlServer.Replication.BusinessLogicSupport
組件: Microsoft.SqlServer.Replication.BusinessLogicSupport (在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)
語法
'宣告
Public Class BusinessLogicCommand _
Implements IDbCommand, IDisposable
'用途
Dim instance As BusinessLogicCommand
public class BusinessLogicCommand : IDbCommand,
IDisposable
public ref class BusinessLogicCommand : IDbCommand,
IDisposable
type BusinessLogicCommand =
class
interface IDbCommand
interface IDisposable
end
public class BusinessLogicCommand implements IDbCommand, IDisposable
BusinessLogicCommand 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
BusinessLogicCommand() | Initializes a new instance of the BusinessLogicCommand class. | |
BusinessLogicCommand(String) | Initializes a new instance of the BusinessLogicCommand class. | |
BusinessLogicCommand(BusinessLogicConnection) | Initializes a new instance of the BusinessLogicCommand class. | |
BusinessLogicCommand(BusinessLogicConnection, TempDBResultSet) | Initializes a new instance of the BusinessLogicCommand class. | |
BusinessLogicCommand(String, BusinessLogicConnection, BusinessLogicTransaction) | Initializes a new instance of the BusinessLogicCommand class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
CommandText | Gets or sets the text command to run against the data source. | |
CommandTimeout | Gets or sets the time in seconds to wait for the command to execute. | |
CommandType | Gets or sets the command type. | |
Connection | Gets or sets the connection to the data source. | |
Parameters | Gets the collection of business logic parameters. | |
Transaction | Gets or sets the transaction within which the command executes. | |
UpdatedRowSource | Gets or sets the updated row source. |
上層
方法
名稱 | 說明 | |
---|---|---|
Cancel | Cancels the execution of a BusinessLogicCommand. | |
CreateParameter | Creates a new instance of an IDbDataParameter object. | |
Dispose | Releases all resources used by the current instance of the BusinessLogicCommand. | |
Equals | (繼承自 Object。) | |
ExecuteNonQuery | Executes a statement against a connection object. | |
ExecuteReader() | Executes the CommandText against the Connection, and returns an IDataReader. | |
ExecuteReader(CommandBehavior) | Executes the CommandText against the Connection, and returns an IDataReader using one of the CommandBehavior. | |
ExecuteScalar | Executes the query and returns the first column of the first row in the result set returned by the query. | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 Object。) | |
Prepare | Creates a prepared version of the command on the data source. | |
ToString | (繼承自 Object。) |
上層
明確 繼承 實作
名稱 | 說明 | |
---|---|---|
IDbCommand.Parameters | Gets the IDataParameterCollection. |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。