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

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

Public Methods

Method Description
FindItem ( FindItemType findItemRequest ) : FindItemResponseType

Find item on the server.

Initialize ( TestTools testSite ) : void

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

SwitchUser ( string userName, string password, string domain ) : void

Switch the current user to the new user, with the identity of the new role to communicate with server.

Method Details

FindItem() public method

Find item on the server.
public FindItem ( FindItemType findItemRequest ) : FindItemResponseType
findItemRequest Microsoft.Protocols.TestSuites.Common.FindItemType Find item operation request type.
return FindItemResponseType

Initialize() public method

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

SwitchUser() public method

Switch the current user to the new user, with the identity of the new role to communicate with server.
public SwitchUser ( string userName, string password, string domain ) : void
userName string The userName 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
return void