Partager via


3.1.4.2 GetHoldOnMailboxes

The GetHoldOnMailboxes operation retrieves the status of a query-based hold, which is set by using the SetHoldOnMailboxes operation, as specified in section 3.1.4.5. A query-based hold is used to preserve items based on specified query parameters.

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

 <wsdl:operation name="GetHoldOnMailboxes" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:input message="tns:GetHoldOnMailboxesSoapIn"/>
   <wsdl:output message="tns:GetHoldOnMailboxesSoapOut"/>
 </wsdl:operation>

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

 <wsdl:operation name="GetHoldOnMailboxes" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/GetHoldOnMailboxes" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   <wsdl:input>
     <soap:header message="tns:GetHoldOnMailboxesSoapIn" part="RequestVersion" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:GetHoldOnMailboxesSoapIn" 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="GetHoldOnMailboxesResult" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:GetHoldOnMailboxesSoapOut" part="ServerVersion" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   </wsdl:output>
 </wsdl:operation>

The client sends a GetHoldOnMailboxesSoapIn request WSDL message, as specified in section 3.1.4.2.1.1 and the server responds with a GetHoldOnMailboxesSoapOut response, as specified in section 3.1.4.2.1.2.