C# Class Microsoft.Protocols.TestSuites.MS_OXWSMSG.MS_OXWSMSGSUTControlAdapter

MS-OXWSMSG SUT control adapter implementation.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSMSGSUTControlAdapter
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
CleanupFolders ( string userName, string password, string domain, string subject, string folders ) : bool

Clean up all items in the Calendar, Inbox, Deleted Items, Drafts and Sent Items folders, which contain a specified subject.

Initialize ( ITestSite testSite ) : void

Initialize some variables overridden.

Private Methods

Method Description
CleanupFolder ( string folder, string subject ) : bool

Clean up the items which contain a specified subject in the specified folder.

GetItemIds ( string folder, string value ) : Microsoft.Protocols.TestSuites.Common.ItemIdType[]

The method searches the mailbox and returns the items that meet a specified search restriction.

Method Details

CleanupFolders() public method

Clean up all items in the Calendar, Inbox, Deleted Items, Drafts and Sent Items folders, which contain a specified subject.
public CleanupFolders ( string userName, string password, string domain, string subject, string folders ) : bool
userName string The name of the user used to communicate with server
password string The password of the user used to communicate with server
domain string The domain of the user used to communicate with server
subject string Subject of the item to be removed.
folders string The folders to be cleaned up, which are delimited by ';'.
return bool

Initialize() public method

Initialize some variables overridden.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite The instance of ITestSite Class.
return void