共用方式為


BusinessLogicDataAdapter.IDbDataAdapter.SelectCommand 屬性

Gets or sets a stored procedure used to select records from the data set.

命名空間:  Microsoft.SqlServer.Replication.BusinessLogicSupport
組件:  Microsoft.SqlServer.Replication.BusinessLogicSupport (在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)

語法

'宣告
Private Property SelectCommand As IDbCommand 
    Implements IDbDataAdapter.SelectCommand 
    Get 
    Set
'用途
Dim instance As BusinessLogicDataAdapter 
Dim value As IDbCommand 

value = CType(instance, IDbDataAdapter).SelectCommand 

CType(instance, IDbDataAdapter).SelectCommand = value
IDbCommand IDbDataAdapter.SelectCommand { get; set; }
private:
virtual property IDbCommand^ SelectCommand {
    IDbCommand^ get () sealed = IDbDataAdapter::SelectCommand::get;
    void set (IDbCommand^ value) sealed = IDbDataAdapter::SelectCommand::set;
}
private abstract SelectCommand : IDbCommand with get, set 
private override SelectCommand : IDbCommand with get, set
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

屬性值

型別:System.Data.IDbCommand
A command used to select records.

實作

IDbDataAdapter.SelectCommand

請參閱

參考

BusinessLogicDataAdapter 類別

Microsoft.SqlServer.Replication.BusinessLogicSupport 命名空間