DTSMessageVersionID 属性

Gets or sets the version of the message.

命名空间:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
程序集:  Microsoft.SqlServer.MSMQTask(在 Microsoft.SqlServer.MSMQTask.dll 中)

语法

声明
Public Property DTSMessageVersionID As String
    Get
    Set
用法
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)

属性值

类型:System. . :: . .String
A String that contains the version of the message.

实现

IMessageQueueTask. . :: . .DTSMessageVersionID

示例

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;