C# Class Microsoft.Protocols.TestSuites.MS_OXWSMTGS.MS_OXWSSRCHAdapter

The adapter class implements the methods defined in interface IMS_OXWSSRCHAdapter.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSSRCHAdapter
Exibir arquivo Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
FindItem ( FindItemType findRequest ) : FindItemResponseType

Search specified items.

Initialize ( ITestSite testSite ) : void

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.

SwitchUser ( string userName, string userPassword, string userDomain ) : void

Switch the current user to the new one, with the identity of the new user to communicate with Exchange Web Service.

Method Details

FindItem() public method

Search specified items.
public FindItem ( FindItemType findRequest ) : FindItemResponseType
findRequest Microsoft.Protocols.TestSuites.Common.FindItemType A request to the FindItem operation.
return FindItemResponseType

Initialize() public method

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite Pass ITestSite to adapter, make adapter can use ITestSite's function.
return void

SwitchUser() public method

Switch the current user to the new one, with the identity of the new user to communicate with Exchange Web Service.
public SwitchUser ( string userName, string userPassword, string userDomain ) : void
userName string The name of a user
userPassword string The password of a user
userDomain string The domain, in which a user is
return void