Compartilhar via


Propriedade ErrorIfMessageTimeOut

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

Namespace:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly:  Microsoft.SqlServer.MSMQTask (em Microsoft.SqlServer.MSMQTask.dll)

Sintaxe

'Declaração
Public Property ErrorIfMessageTimeOut As Boolean
    Get
    Set
'Uso
Dim instance As MessageQueueTask
Dim value As Boolean

value = instance.ErrorIfMessageTimeOut

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

Valor da propriedade

Tipo: System. . :: . .Boolean
true if the task fails when the message times out; false if the task does not.

Implementa

IMessageQueueTask. . :: . .ErrorIfMessageTimeOut

Comentários

The default value of this property is false.