ExchangeService.GetDiscoverySearchConfiguration method

Gets search configuration information for the purpose of eDiscovery.

The GetDiscoverySearchConfiguration(String, Boolean, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public GetDiscoverySearchConfigurationResponse GetDiscoverySearchConfiguration(
	string searchId,
	bool expandGroupMembership,
	bool inPlaceHoldConfigurationOnly
)

Parameters

searchId
Type: System.String

The search ID.

expandGroupMembership
Type: System.Boolean

true if group membership expansion is requested; otherwise, false.

inPlaceHoldConfigurationOnly
Type: System.Boolean

true if only in-place hold configuration information is requested; otherwise, false.

Return value

Type: Microsoft.Exchange.WebServices.Data.GetDiscoverySearchConfigurationResponse
eDiscovery search configuration data.
Show: