AppInstance.Recycle 方法

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

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Function Recycle As ClientResult(Of Guid)
用法
Dim instance As AppInstance
Dim returnValue As ClientResult(Of Guid)

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

返回值

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

备注

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

另请参阅

引用

AppInstance 类

AppInstance 成员

Microsoft.SharePoint.Client 命名空间