Partager via


AppInstance.Recycle - Méthode

Creates a job that sends the app instance to the recycle bin.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Function Recycle As ClientResult(Of Guid)
'Utilisation
Dim instance As AppInstance
Dim returnValue As ClientResult(Of Guid)

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

Valeur renvoyée

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

Remarques

The app instance will stay in the recycle bin until it is restored by Restore(), or uninstalled at the end of the retention period.

Voir aussi

Référence

AppInstance classe

AppInstance - Membres

Microsoft.SharePoint.Client - Espace de noms