MessageQueueTask.DTSMessageVersionID Property
Gets or sets the version of the message.
Namespace: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)
Syntax
'Declaration
Public Property DTSMessageVersionID As String
public string DTSMessageVersionID { get; set; }
public:
virtual property String^ DTSMessageVersionID {
String^ get () sealed;
void set (String^ value) sealed;
}
/** @property */
public final String get_DTSMessageVersionID ()
/** @property */
public final void set_DTSMessageVersionID (String value)
public final function get DTSMessageVersionID () : String
public final function set DTSMessageVersionID (value : String)
Property Value
A String that contains the version of the message.
Example
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;
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
MessageQueueTask Class
MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace