Platform SDK: CDO for Windows 2000

SaveTo Method

The SaveTo method is currently not implemented. It is reserved for future use.

[Visual Basic,VBScript]
Sub SaveTo(
    ByVal SourceURL as String,
    ByVal ActiveConnection as Object,
   [ByVal Mode as ConnectModeEnum],
   [ByVal CreateOptions as RecordCreateOptionsEnum],
   [ByVal Options as RecordOpenOptionsEnum],
   [ByVal UserName as String],
   [ByVal Password as String]
)
[C++]
HRESULT SaveTo(
   BSTR SourceURL,
   IDispatch* ActiveConnection = 0,
   ConnectModeEnum Mode,
   RecordCreateOptionsEnum CreateOptions,
   RecordOpenOptionsEnum Options,
   BSTR UserName,
   BSTR Password

);
[IDL]
HRESULT SaveTo(
   [in] BSTR SourceURL,
   [in, defaultvalue(0)] IDispatch* ActiveConnection,
   [in, optional] ConnectModeEnum Mode,
   [in, optional] RecordCreateOptionsEnum CreateOptions,
   [in, optional] RecordOpenOptionsEnum Options,
   [in, optional] BSTR UserName,
   [in, optional] BSTR Password
);

Parameters

SourceURL
The Uniform Resource Locator (URL) specifying where to save.
ActiveConnection
Specifies the connection to use when saving. This is an IDispatch interface to an Microsoft® ActiveX® Data Objects (ADO) Connection object
Mode
An ADO defined access mode for the object.
CreateOptions
A set of flags to specify creation options.
Options
Specifies options flag(s) opening the source. Your option is always ORed with adOpenSource.
Username
Passes a user name if it is needed for writing the data.
Password
Passes a password if it is needed for writing the data