Condividi tramite


Proprietà MessageQueueTask.DTSMessageVersionID

Gets or sets the version of the message.

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly:  Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)

Sintassi

'Dichiarazione
Public Property DTSMessageVersionID As String 
    Get 
    Set
'Utilizzo
Dim instance As MessageQueueTask 
Dim value As String 

value = instance.DTSMessageVersionID

instance.DTSMessageVersionID = value
public string DTSMessageVersionID { get; set; }
public:
virtual property String^ DTSMessageVersionID {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract DTSMessageVersionID : string with get, set 
override DTSMessageVersionID : string with get, set
final function get DTSMessageVersionID () : String 
final function set DTSMessageVersionID (value : String)

Valore proprietà

Tipo: System.String
A String that contains the version of the message.

Implementa

IMessageQueueTask.DTSMessageVersionID

Esempi

The following code example retreives the version ID of the task from a message queue task and puts it into msmqTask. The variable verUnknownMSMQTask is the Message Queue task whose version we are reviewing.

String taskMessageVersionID = verUnknownMSMQTask.DTSMessageVersionID;

Vedere anche

Riferimento

MessageQueueTask Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.MessageQueueTask