Logon Method

DTS Programming

DTS Programming

Logon Method

The Logon method creates a MAPI session.

Applies To
SendMailTask Object
Syntax

[errorstring =] object.Logon()

Part Description
object Expression that evaluates to a SendMailTask object
errorstring String describing error if Logon fails

Prototype (C/C++)

HRESULT Logon(BSTR *ErrorString);

See Also

Logoff Method