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
public string MessageDataFile { get; set; }
public:
property String^ MessageDataFile {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_MessageDataFile ()
/** @property */
public void set_MessageDataFile (String value)
public function get MessageDataFile () : String
public function set MessageDataFile (value : String)
Property Value
A String that contains the name of the data file used.
Example
The following code example shows the syntax to use when setting the MessageDataFile property.
myMSMQTask.MessageDataFile = @"\\myserver\myDataFiles\Test1.txt";
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