此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Gets or sets a value that indicates whether the task fails when the message times out.
命名空间: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
程序集: Microsoft.SqlServer.MSMQTask(在 Microsoft.SqlServer.MSMQTask.dll 中)
语法
声明
Property ErrorIfMessageTimeOut As Boolean
Get
Set
用法
Dim instance As IMessageQueueTask
Dim value As Boolean
value = instance.ErrorIfMessageTimeOut
instance.ErrorIfMessageTimeOut = value
bool ErrorIfMessageTimeOut { get; set; }
property bool ErrorIfMessageTimeOut {
bool get ();
void set (bool value);
}
abstract ErrorIfMessageTimeOut : bool with get, set
function get ErrorIfMessageTimeOut () : boolean
function set ErrorIfMessageTimeOut (value : boolean)
属性值
类型:System.Boolean
true if the task fails when the message times out; false if the task does not.