Share via


MessageQueueTask.MessageType Property

Gets or sets a value that indicates the type of message being sent when the TaskType is DTSMQType_Sender.

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

Syntax

'Declaration
Public Property MessageType As MQMessageType
    Get
    Set
'Usage
Dim instance As MessageQueueTask
Dim value As MQMessageType

value = instance.MessageType

instance.MessageType = value
public MQMessageType MessageType { get; set; }
public:
property MQMessageType MessageType {
    MQMessageType get ();
    void set (MQMessageType value);
}
member MessageType : MQMessageType with get, set
function get MessageType () : MQMessageType
function set MessageType (value : MQMessageType)

Property Value

Type: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQMessageType
A value from the MQMessageType enumeration that indicates the type of message to send.