Partager via


MQMessageType Enumeration

Describes the message type when the TaskType is set to a value of DTSMQType_Sender.

Espace de noms: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)

Syntaxe

'Déclaration
Public Enumeration MQMessageType As Long
public enum MQMessageType : long
public enum class MQMessageType : long long
public enum MQMessageType
public enum MQMessageType

Members

Member name Description
DTSMQMessageType_DataFile Message source is a data file.
DTSMQMessageType_String Message source is a string.
DTSMQMessageType_Variables Message source is in a variable, and the destination is also a variable.
DTSMQMessagType_StringMessageToVariable Message source is text, and the destination is a variable. This enumeration is only valid when the Message Queue task is receiving a message.

Notes

This enumeration determines which format the Message Queue task uses. The Message Queue task sends and receives messages to or from a queue used by Message Queuing (also known as MSMQ). The following types of messages can be sent:

  • A string message, which is supplied as the value of a property. Use the enumeration DTSMQMessageType_String for this type of message.

  • A data file message, which is generated from the contents of a specified data file. Use the enumeration DTSMQMessageType_DataFile for this type of message.

  • A variables message, which is generated from the names and values of one or more variables. Use the enumeration DTSMQMessageType_Variables for this type of message.

The DTSMQMessagType_StringMessageToVariable is not a valid value when sending a message.

For more information, see Tâche MSMQ.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace