Platform SDK: CDO for Windows 2000 |
The Load method 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);
Name | Value | Description |
---|---|---|
cdoSourceDefaults | -1 | Load all applicable default field values. |
cdoSourceIIS | 1 | Load any default values from Microsoft Internet Information Server (IIS). |
cdoSourceOutlookExpress | 2 | Load default values from Microsoft® Outlook® Express. |
Use the Load method to explicitly load (or reload) default configuration settings. These settings can include Simple Mail Transport Protocol (SMTP) service settings or Outlook Express settings. The availability of these configuration settings is dependent on the software installed on the local computer.
' Reference to Microsoft ActiveX Data Objects 2.5 Library ' Reference to Microsoft CDO for Windows 2000 Library Dim iConf as New CDO.Configuration iConf.Load cdoSourceIIS ... Dim iMsg as New CDO.Message Set iMsg.Configuration = iConf