SMTPConn.AcquireConnection(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Establishes the SMTP connection and returns a connection object.
public:
override System::Object ^ AcquireConnection(System::Object ^ txn);
public override object AcquireConnection (object txn);
override this.AcquireConnection : obj -> obj
Public Overrides Function AcquireConnection (txn As Object) As Object
Parameters
- txn
- Object
The handle to a transaction type.
Returns
The connection object containing the SMTP connection.
Remarks
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