共用方式為


BusinessLogicCommand.CommandTimeout 屬性

Gets or sets the time in seconds to wait for the command to execute.

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

語法

'宣告
Public Property CommandTimeout As Integer 
    Get 
    Set
'用途
Dim instance As BusinessLogicCommand 
Dim value As Integer 

value = instance.CommandTimeout

instance.CommandTimeout = value
public int CommandTimeout { get; set; }
public:
virtual property int CommandTimeout {
    int get () sealed;
    void set (int value) sealed;
}
abstract CommandTimeout : int with get, set 
override CommandTimeout : int with get, set
final function get CommandTimeout () : int 
final function set CommandTimeout (value : int)

屬性值

型別:System.Int32
The time in seconds to wait for the command to execute.

實作

IDbCommand.CommandTimeout

請參閱

參考

BusinessLogicCommand 類別

Microsoft.SqlServer.Replication.BusinessLogicSupport 命名空間