共用方式為


IDeploymentContext.IsRetracting 屬性

指出是否正在撤銷專案。

命名空間:  Microsoft.VisualStudio.SharePoint.Deployment
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
ReadOnly Property IsRetracting As Boolean
    Get
bool IsRetracting { get; }

屬性值

型別:System.Boolean
如果專案正在撤銷則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

IDeploymentContext 介面

Microsoft.VisualStudio.SharePoint.Deployment 命名空間