Share via


ServCompMQTask.Initialize Method

Definition

Initializes the current ServCompMQTask.

public:
 void Initialize(System::String ^ desc, bool dtFlOvrWrtable, System::String ^ MsgLngID, System::String ^ MsgPkgID, System::String ^ MsgVrsnID, bool errIfMsgTmOt, System::String ^ quPath, System::String ^ msmqConn, long rcvMsgTmOt, Microsoft::SqlServer::Dts::Tasks::MessageQueueTask::MQMessageType rcvMsgTp, bool rmvFromQu, System::String ^ saveDtFlNm, Microsoft::SqlServer::Dts::Tasks::MessageQueueTask::MQStringMessageCompare strCmpTp, System::String ^ strCmpVal, Microsoft::SqlServer::Dts::Tasks::MessageQueueTask::MQType taskTp, System::String ^ msgDtFl, System::String ^ msgStr, System::String ^ msgVars, Microsoft::SqlServer::Dts::Tasks::MessageQueueTask::MQMessageType msgTp, bool useEncrp, System::Messaging::EncryptionAlgorithm encrpAlgthm, bool use2000Fmt, Microsoft::SqlServer::Dts::Tasks::MessageQueueTask::MessageQueueTask ^ otTask);
public void Initialize (string desc, bool dtFlOvrWrtable, string MsgLngID, string MsgPkgID, string MsgVrsnID, bool errIfMsgTmOt, string quPath, string msmqConn, long rcvMsgTmOt, Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQMessageType rcvMsgTp, bool rmvFromQu, string saveDtFlNm, Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQStringMessageCompare strCmpTp, string strCmpVal, Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQType taskTp, string msgDtFl, string msgStr, string msgVars, Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQMessageType msgTp, bool useEncrp, System.Messaging.EncryptionAlgorithm encrpAlgthm, bool use2000Fmt, Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MessageQueueTask otTask);
member this.Initialize : string * bool * string * string * string * bool * string * string * int64 * Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQMessageType * bool * string * Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQStringMessageCompare * string * Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQType * string * string * string * Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MQMessageType * bool * System.Messaging.EncryptionAlgorithm * bool * Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.MessageQueueTask -> unit
Public Sub Initialize (desc As String, dtFlOvrWrtable As Boolean, MsgLngID As String, MsgPkgID As String, MsgVrsnID As String, errIfMsgTmOt As Boolean, quPath As String, msmqConn As String, rcvMsgTmOt As Long, rcvMsgTp As MQMessageType, rmvFromQu As Boolean, saveDtFlNm As String, strCmpTp As MQStringMessageCompare, strCmpVal As String, taskTp As MQType, msgDtFl As String, msgStr As String, msgVars As String, msgTp As MQMessageType, useEncrp As Boolean, encrpAlgthm As EncryptionAlgorithm, use2000Fmt As Boolean, otTask As MessageQueueTask)

Parameters

desc
String

The description of the task.

dtFlOvrWrtable
Boolean

true to indicate that the data file message can overwrite an existing data file; otherwise, false.

MsgLngID
String

The identifier of the message lineage.

MsgPkgID
String

The identifier of the package that is the source of the message.

MsgVrsnID
String

The identifier of the message version.

errIfMsgTmOt
Boolean

true to indicate that the task fails when the message times out; otherwise, false.

quPath
String

The path of the queue.

msmqConn
String

The name of the connection for the MSMQ task.

rcvMsgTmOt
Int64

The number of seconds before a received message times out.

rcvMsgTp
MQMessageType

The message type to receive.

rmvFromQu
Boolean

true to remove the message from the queue; otherwise, false.

saveDtFlNm
String

The name of the file to which an incoming Data File message is saved.

strCmpTp
MQStringMessageCompare

The string comparison method to use.

strCmpVal
String

The String to which a string message is compared to when the TaskType is DTSMQType_Receiver.

taskTp
MQType

The type of the task.

msgDtFl
String

The name of the data file used.

msgStr
String

A String that contains the message.

msgVars
String

The list of variables used in the message.

msgTp
MQMessageType

The type of message to send.

useEncrp
Boolean

true to use encryption; otherwise, false.

encrpAlgthm
EncryptionAlgorithm

The name of the encryption algorithm to use.

use2000Fmt
Boolean

true to use the SQL Server 2000 format; otherwise, false.

otTask
MessageQueueTask

The specified Message Queue task.

Applies to