Export (0) Print
Expand All

MSMQConn.AcquireConnection Method

Establishes the MSMQ connection and returns a connection object.

Namespace:  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

public override Object AcquireConnection(
	Object txn
)

Parameters

txn
Type: Object
The handle to a transaction type.

Return Value

Type: Object
The connection object containing the MSMQ connection.

During a call to AcquireConnection, the actual connection is created using properties that are set on the ConnectionManagerBase object, as well as any properties specific to the connection type that have been set on this class.

Community Additions

ADD
Show:
© 2014 Microsoft