Propriété MessageDataFile

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly :  Microsoft.SqlServer.MSMQTask (en Microsoft.SqlServer.MSMQTask.dll)

Syntaxe

'Déclaration
Public Property MessageDataFile As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
A String that contains the name of the data file used.

Exemples

The following code example shows the syntax to use when setting the MessageDataFile property.

myMSMQTask.MessageDataFile = @"\\myserver\myDataFiles\Test1.txt";