Platform SDK: Exchange 2000 Server

Load Method

[This is preliminary documentation and subject to change.]

Loads the specified configuration.

[Visual Basic]
Sub Load(ByVal LoadFrom as CdoConfigSource, [ByVal URL as String])
[C++]
HRESULT Load(CdoConfigSource LoadFrom, BSTR URL);
[IDL]
HRESULT Load([in] CdoConfigSource LoadFrom, [in, optional] BSTR URL);
LoadFrom
Specifies what configuration to load. Can be any value from the following CdoConfigSource enumeration
Name Value Description
cdoSourceDefaults -1 Load all applicable default field values.
cdoSourceIIS 1 Load any default values from IIS.
cdoSourceOutlookExpress 2 Load default values from Outlook Express.

URL
This parameter is ignored and reserved for future use.

Remarks

Use the Load method to explicitly load (or re-load) default configuration settings. These settings can include SMTP service settings and/or Outlook Express settings. The availability of these configuration settings is dependent on the local installed software.

Example

Dim iConf as New CDO.Configuration
iConf.Load cdoSourceIIS
...
Dim iMsg as New CDO.Message
Set iMsg.Configuration = iConf