Share via


MessageQueueTask.TaskType Property

Gets or sets a value that indicates whether the message task is sending or receiving.

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

Syntax

'Declaration
Public Property TaskType As MQType
    Get
    Set
'Usage
Dim instance As MessageQueueTask
Dim value As MQType

value = instance.TaskType

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

Property Value

Type: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQType
A valid value from the MQType enumeration.

Implements

IMessageQueueTask.TaskType