3.1.4.5 SetHoldOnMailboxes

The SetHoldOnMailboxes operation sets a query-based hold on mailboxes.

The following is the WSDL port type specification of the SetHoldOnMailboxes WSDL operation.

 <wsdl:operation name="SetHoldOnMailboxes" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:input message="tns:SetHoldOnMailboxesSoapIn"/>
   <wsdl:output message="tns:SetHoldOnMailboxesSoapOut"/>
 </wsdl:operation>

The following is the WSDL binding specification of the SetHoldOnMailboxes operation.

 <wsdl:operation name="SetHoldOnMailboxes" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/SetHoldOnMailboxes" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   <wsdl:input>
     <soap:header message="tns:SetHoldOnMailboxesSoapIn" part="RequestVersion" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:SetHoldOnMailboxesSoapIn" part="ManagementRole" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:body use="literal" parts="request" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   </wsdl:input>
   <wsdl:output>
     <soap:body use="literal" parts="SetHoldOnMailboxesResult" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:SetHoldOnMailboxesSoapOut" part="ServerVersion" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   </wsdl:output>
 </wsdl:operation>

The client sends a SetHoldOnMailboxesSoapIn request WSDL message, as specified in section 3.1.4.5.1.1, and the server responds with a SetHoldOnMailboxesSoapOut response, as specified in section 3.1.4.5.1.2.