Ескертпе
Бұл бетке кіру үшін қатынас шегін айқындау қажет. Жүйеге кіруді немесе каталогтарды өзгертуді байқап көруге болады.
Бұл бетке кіру үшін қатынас шегін айқындау қажет. Каталогтарды өзгертуді байқап көруге болады.
Операция RefreshSharingFolder обновляет указанную локальную папку последними данными из папки, к которой предоставляется общий доступ.
Заголовки SOAP
Операция RefreshSharingFolder может использовать заголовки SOAP, перечисленные и описанные в следующей таблице.
| Header | Элемент | Описание |
|---|---|---|
| RequestVersion |
RequestServerVersion |
Определяет версию схемы для запроса операции. |
| ServerVersion |
ServerVersionInfo |
Определяет версию сервера, который ответил на запрос. |
Пример запроса RefreshSharingFolder
Описание
В следующем примере показано, как сформировать запрос на обновление указанной локальной папки с последними данными из папки, к которой предоставляется общий доступ. Элемент SharingFolderId указывает идентификатор обновляемой локальной папки.
Код
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<soap:Header>
<t:RequestServerVersion Version="Exchange2010"/>
</soap:Header>
<soap:Body>
<RefreshSharingFolder xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<m:SharingFolderId Id="AAMkAD=" ChangeKey="AwAAA=" />
</RefreshSharingFolder>
</soap:Body>
</soap:Envelope>
Элементы запроса
В запросе используются следующие элементы:
Ответ RefreshSharingFolder успешно
Описание
В следующем примере показан успешный ответ на запрос RefreshSharingFolder .
Код
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<t:ServerVersionInfo MajorVersion="14"
MinorVersion="0"
MajorBuildNumber="639"
MinorBuildNumber="11"
Version="Exchange2010"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" />
</soap:Header>
<soap:Body>
<RefreshSharingFolderResponseMessage ResponseClass="Success"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<m:ResponseCode>NoError</m:ResponseCode>
</RefreshSharingFolderResponseMessage>
</soap:Body>
</soap:Envelope>
Элементы успешного отклика
В ответе используются следующие элементы:
Ответ об ошибке RefreshSharingFolder
Описание
В следующем примере показан ответ на ошибку на запрос RefreshSharingFolder . В этом примере произошел сбой запроса RefreshSharingFolder , так как подписка, соответствующая указанной локальной папке, не найдена.
Код
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<t:ServerVersionInfo MajorVersion="14"
MinorVersion="0"
MajorBuildNumber="639"
MinorBuildNumber="11"
Version="Exchange2010"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" />
</soap:Header>
<soap:Body>
<RefreshSharingFolderResponseMessage ResponseClass="Error"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<m:MessageText>Failed to synchronize the sharing folder.</m:MessageText>
<m:ResponseCode>ErrorSharingSynchronizationFailed</m:ResponseCode>
<m:DescriptiveLinkKey>0</m:DescriptiveLinkKey>
<m:MessageXml>
<t:Value Name="ErrorDetails">Microsoft.Exchange.InfoWorker.Common.Sharing.SubscriptionNotFoundException: The subscription wasn't found.;</t:Value>
</m:MessageXml>
</RefreshSharingFolderResponseMessage>
</soap:Body>
</soap:Envelope>
Элементы ответа на ошибку
В ответе на ошибку используются следующие элементы:
См. также
RefreshSharingFolderResponseMessage