Compartilhar via


Propriedade MessageType

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 (em Microsoft.SqlServer.MSMQTask.dll)

Sintaxe

'Declaração
Public Property MessageType As MQMessageType
    Get
    Set
'Uso
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)

Valor da propriedade

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