SPSolution.Deployed property
會傳回一個值,指出是否要將解決方案部署至伺服器陣列中的一或多個 web 應用程式。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Deployed As Boolean
Get
'用途
Dim instance As SPSolution
Dim value As Boolean
value = instance.Deployed
public bool Deployed { get; }
Property value
Type: System.Boolean
true解決方案部署至一或多個 web 應用程式 ; 如果否則,請false。
備註
若要判斷是否已部署語言套件,請使用SPSolutionLanguagePack.Deployed。