Propriedade do RDL MessageDataFile
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 (em Microsoft.SqlServer.MSMQTask.dll)
Sintaxe
'Declaração
Public Property MessageDataFile As String
Get
Set
'Uso
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)
Valor da propriedade
Tipo: System. . :: . .String
A String that contains the name of the data file used.
Exemplos
The following code example shows the syntax to use when setting the MessageDataFile property.
myMSMQTask.MessageDataFile = @"\\myserver\myDataFiles\Test1.txt";
Consulte também