ExecuteScript method

The ExecuteScript method takes no arguments. Instead, it uses text or a file as specified with the SetScriptFile or SetScriptText method and runs that script. The Directory, SiteId, ExchangeServer, SystemMailbox, and MailboxDN/LDAPQuery properties must be set before this method is called.

HRESULT ExecuteScript()