共用方式為


ISharePointProjectPackage.BuildPackage 方法

組建 SharePoint 方案封裝檔案。

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

語法

'宣告
Function BuildPackage As Boolean
bool BuildPackage()

傳回值

型別:System.Boolean
如果建置成功則為 True,否則為 false。

.NET Framework 安全性

請參閱

參考

ISharePointProjectPackage 介面

Microsoft.VisualStudio.SharePoint 命名空間