MessageQueueTask.MessageDataFile Property
Gets or sets the data file name used when the MessageType is set to DTSMQMessageType_DataFile.
Namespace: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly: Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)
Syntax
'Declaration
Public Property MessageDataFile As String
Get
Set
'Usage
Dim instance As MessageQueueTask
Dim value As String
value = instance.MessageDataFile
instance.MessageDataFile = value
public string MessageDataFile { get; set; }
public:
property String^ MessageDataFile {
String^ get ();
void set (String^ value);
}
member MessageDataFile : string with get, set
function get MessageDataFile () : String
function set MessageDataFile (value : String)
Property Value
Type: System.String
A String that contains the name of the data file used.
Examples
The following code example shows the syntax to use when setting the MessageDataFile property.
myMSMQTask.MessageDataFile = @"\\myserver\myDataFiles\Test1.txt";