| IDRARestServerSharedMailboxRestore Method |
Restore the specified shared mailbox from the recycle bin
UriTemplate: /dra/domains/{domainFqdn}/sharedmailboxes/restore
Namespace:
NetIQ.DRA.RestServiceLibrary
Assembly:
NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 10.2.2.1
Syntax [OperationContractAttribute]
[WebInvokeAttribute(Method = "POST", ResponseFormat = WebMessageFormat.Json,
RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "/dra/domains/{domainFqdn}/sharedmailboxes/restore")]
Stream SharedMailboxRestore(
string domainFqdn,
string sharedMailboxIdentifier,
string restoreToContainer,
ConnectionParameters connectionParameters
)
<OperationContractAttribute>
<WebInvokeAttribute(Method := "POST", ResponseFormat := WebMessageFormat.Json,
RequestFormat := WebMessageFormat.Json, BodyStyle := WebMessageBodyStyle.Wrapped,
UriTemplate := "/dra/domains/{domainFqdn}/sharedmailboxes/restore")>
Function SharedMailboxRestore (
domainFqdn As String,
sharedMailboxIdentifier As String,
restoreToContainer As String,
connectionParameters As ConnectionParameters
) As Stream
Parameters
- domainFqdn
- Type: SystemString
The FQDN of the domain where the user is located - sharedMailboxIdentifier
- Type: SystemString
A string identifying the shared mailbox. Supported formats are: name, friendly name, or distinguishedName - restoreToContainer
- Type: SystemString
Optional. distinguished name of an alternate container where the shared mailbox should be restored. By default, the shared mailbox is restored to the original container. - connectionParameters
- Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials
Return Value
Type:
StreamA
RestResponse object containing the operation results
See Also