MessageQueueTask.MessageDataFile Property
Gets or sets the data file name used when the MessageType is set to DTSMQMessageType_DataFile.
命名空間: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
組件: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)
語法
'宣告
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)
屬性值
A String that contains the name of the data file used.
範例
The following code example shows the syntax to use when setting the MessageDataFile property.
myMSMQTask.MessageDataFile = @"\\myserver\myDataFiles\Test1.txt";
執行緒安全性
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
MessageQueueTask Class
MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace