Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
Service Class
Service Methods
SetHoldOnMailboxes Method
SetHoldOnMailboxes Method (HoldActionType, String, String)
SetHoldOnMailboxes Method (HoldActionType, String, String, IList(String), String, Boolean, Boolean, String)

# Service SetHoldOnMailboxes Method (HoldActionType, String, String, IList String , String, Boolean, Boolean, String)

Sets the hold on mailboxes.

Namespace: Independentsoft.Exchange
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public HoldOnMailboxesInfo SetHoldOnMailboxes(
    	HoldActionType actionType,
    	string holdId,
    	string query,
    	IList<string> mailboxes,
    	string language,
    	bool includeNonIndexableItems,
    	bool deduplication,
    	string inPlaceHoldIdentity
    )

    Public Function SetHoldOnMailboxes (
    	actionType As HoldActionType,
    	holdId As String,
    	query As String,
    	mailboxes As IList(Of String),
    	language As String,
    	includeNonIndexableItems As Boolean,
    	deduplication As Boolean,
    	inPlaceHoldIdentity As String
    ) As HoldOnMailboxesInfo

#### Parameters

actionType
  Type: Independentsoft.Exchange
  HoldActionType
  Type of the action.
holdId
  Type: System
  String
  The hold identifier.
query
  Type: System
  String
  The query.
mailboxes
  Type: System.Collections.Generic
  IList
  String
  The mailboxes.
language
  Type: System
  String
  The language.
includeNonIndexableItems
  Type: System
  Boolean
  if set to true [include non indexable items].
deduplication
  Type: System
  Boolean
  if set to true [deduplication].
inPlaceHoldIdentity
  Type: System
  String
  The in place hold identity.

#### Return Value

Type: HoldOnMailboxesInfo
HoldOnMailboxesInfo.
See Also

#### Reference

Service Class
SetHoldOnMailboxes Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de