Share via


activeconnection Field

activeconnection Field

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The activeconnection field specifies the ActiveConnection object to be used when you send messages using Microsoft Exchange Server 2003.

Full Name

https://schemas.microsoft.com/cdo/configuration/activeconnection

Named Constant

cdoActiveConnection

OLE DB Type

DBTYPE_WSTR

Remarks

This ActiveConnection object reference is only used when you send messages using Exchange. To send messages using Exchange, set the https://schemas.microsoft.com/cdo/configuration/sendusing configuration field (CdoSendUsingMethod) to the value cdoSendUsingExchange (3). The Microsoft ActiveX Data Objects (ADO) Connection object must be currently bound to the private mailbox store of the user.

No transaction is assumed for this Connection object when messages are sent. To send messages within a transaction when using a provider that supports transactions, first call _Connection.BeginTrans on this Connection object. Then send the message using the Send Method. Finally, either commit the transaction using the _Connection.CommitTrans method, or abort the transaction using the _Connection.RollbackTrans method.

See Also

Send Method

sendusing Field

CdoSendUsing Enum

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.