Export (0) Print
Expand All

SMTPConn.AcquireConnection Method

Establishes the SMTP connection and returns a connection object.

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

abstract AcquireConnection : 
        txn:Object -> Object  
override AcquireConnection : 
        txn:Object -> Object

Parameters

txn
Type: Object
The handle to a transaction type.

Return Value

Type: Object
The connection object containing the SMTP connection.

During AcquireConnection, the actual connection is created using properties that are set on ConnectionManagerBase object, as well as any connection-type specific properties set on this class

Community Additions

ADD
Show:
© 2014 Microsoft