Exchange 2007 Resource Manager::QueryAllStores
This procedure returns all of the mail stores and public folders stores.
Arguments
Input Arguments | Required | Description |
---|---|---|
<preferredDomainController> |
Yes |
The Fully Qualified Domain Names (FQDN) or IP Address of the domain controller to use for this procedure. |
Output Arguments | Description |
---|---|
<publicStores> |
The container element for each set of child public store elements. |
<publicStores/ publicStore> |
The container element for each set of child public store properties elements. |
<publicStore/@provisionable> |
The container element for child servername elements or the provisionable attributes; if the provisional attribute, then (1) provisionable or (0) not provisionable. |
<publicStores/ publicStore/ GUID> |
The GUID for the public store, mailstore, or mailbox.. |
<publicStores/ publicStore/ serverName> |
This parameter is required if the publicStore element is present. The NETBIOS name of the Exchange server. |
<publicStores/ publicStore/ megabytes> |
The size of disk storage or the size of an adjustment. |
<publicStores/ publicStore/ megabytesFree> |
The number of megabytes yet to be allocated for the public store or mailstore. |
<mailstores> |
The container element for each set of child mailstore elements. |
<mailStores/ mailStore> |
The container element for each set of child mailstore properties elements. |
< mailStore/@provisionable> |
The container element for child servername elements or the provisionable attributes; if the provisional attribute, then (1) provisionable or (0) not provisionable. |
<mailStores/ mailStore/ serverName> |
This parameter is required if the publicStore element is present. The NETBIOS name of the Exchange server. |
<mailStores/ mailStore/ mailStoreName> |
The name of the mailstore. This name must be unique amongst all of the mailbox stores in the Active Directory tree. A naming scheme of Mailbox Store N (ServerName) where N is an integer that is unique on this server is recommended. |
<mailStores/ mailStore/ GUID> |
The GUID for the public store, mailstore, or mailbox.. |
<mailStores/ mailStore/ megabytes> |
The size of disk storage or the size of an adjustment. |
<mailStores/ mailStore/ megabytesFree> |
The number of megabytes yet to be allocated for the public store or mailstore. |
<mailStores/ mailStore/ shared> |
If 1, this mailstore may be shared by multiple organizations. Otherwise it will be allocated to a single organization. |
Remarks
Security
The caller must be at least a member of role: DomainAdmin
Sample Code
Example XML Request
<request>
<data>
<preferredDomainController>AD01.Fabrikam.com </preferredDomainController>
</data>
<procedure>
<execute namespace="Exchange 2007 Resource Manager" procedure="QueryAllStores" impersonate="1" >
<before source="data" destination="executeData" mode="merge" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
<response>
<data>
<publicStores>
<publicStore provisionable="1" >
<GUID>717DCEEACA4844C5A617BA71F6A0BEA8 </GUID>
<serverName>EXBE01 </serverName>
<megabytes>10000 </megabytes>
<megabytesFree>9400 </megabytesFree>
</publicStore>
</publicStores>
<mailStores>
<mailStore provisionable="1" >
<GUID>08FD2BCDDCD64D809CD41E88069E37F8 </GUID>
<serverName>EXBE01 </serverName>
<mailStoreName>Mailbox Store 3 (EXBE01) </mailStoreName>
<megabytes>8000 </megabytes>
<megabytesFree>7400 </megabytesFree>
<shared>0 </shared>
</mailStore>
</mailStores>
</data>
</response>
Applies To
Exchange 2007 Resource Manager Namespace for:
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0