共用方式為


AppInstance.Recycle 方法

建立工作的應用程式執行個體傳送到資源回收筒。

命名空間:  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>
資源工作的工作識別碼。

備註

應用程式執行個體會保留在 [資源回收筒] 中,直到還原Restore(),或解除安裝結尾的保留期限。

請參閱

參照

AppInstance 類別

AppInstance 成員

Microsoft.SharePoint.Client 命名空間