Поделиться через


Свойство MessageDataFile

Gets or sets the data file name used when the MessageType is set to DTSMQMessageType_DataFile.

Пространство имен:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Сборка:  Microsoft.SqlServer.MSMQTask (в Microsoft.SqlServer.MSMQTask.dll)

Синтаксис

'Декларация
Public Property MessageDataFile As String
    Get
    Set
'Применение
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)

Значение свойства

Тип: System. . :: . .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";