Share via


Tenant.RestoreDeletedSite method

Restores the previously deleted site from the recycle bin.

Namespace:  Microsoft.Online.SharePoint.TenantAdministration
Assembly:  Microsoft.Online.SharePoint.Client.Tenant (in Microsoft.Online.SharePoint.Client.Tenant.dll)

Syntax

'Declaration
Public Overridable Function RestoreDeletedSite ( _
    siteUrl As String _
) As SpoOperation
'Usage
Dim instance As Tenant
Dim siteUrl As String
Dim returnValue As SpoOperation

returnValue = instance.RestoreDeletedSite(siteUrl)
public virtual SpoOperation RestoreDeletedSite(
    string siteUrl
)

Parameters

  • siteUrl
    Type: System.String

    A string that represents the site to restore.

Return value

Type: Microsoft.Online.SharePoint.TenantAdministration.SpoOperation
SpoOperation

See also

Reference

Tenant class

Tenant members

Microsoft.Online.SharePoint.TenantAdministration namespace