共用方式為


MessageQueueTask.ErrorIfMessageTimeOut Property

Gets or sets a Boolean specifying whether the task fails when the message times out.

命名空間: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
組件: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)

語法

'宣告
Public Property ErrorIfMessageTimeOut As Boolean
public bool ErrorIfMessageTimeOut { get; set; }
public:
virtual property bool ErrorIfMessageTimeOut {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_ErrorIfMessageTimeOut ()

/** @property */
public final void set_ErrorIfMessageTimeOut (boolean value)
public final function get ErrorIfMessageTimeOut () : boolean

public final function set ErrorIfMessageTimeOut (value : boolean)

屬性值

true if the task fails when the message times out; false if the task does not.

備註

The default value of this property is false.

執行緒安全性

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

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

MessageQueueTask Class
MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace