Share via


AppInstance.Restore method

Creates a job that restores the app instance from the recycle bin to the installed state.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function Restore As ClientResult(Of Guid)
'Usage
Dim instance As AppInstance
Dim returnValue As ClientResult(Of Guid)

returnValue = instance.Restore()
public ClientResult<Guid> Restore()

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Guid>
The job identifier of the restore job.

See also

Reference

AppInstance class

AppInstance members

Microsoft.SharePoint.Client namespace