共用方式為


SPSolution.DeploymentState property

取得值,指出是否已部署解決方案,以及如果要的話,是否已安裝在全域組件快取,在應用程式的 bin 目錄,或兩者的組件。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property DeploymentState As SPSolutionDeploymentState
    Get
'用途
Dim instance As SPSolution
Dim value As SPSolutionDeploymentState

value = instance.DeploymentState
public SPSolutionDeploymentState DeploymentState { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPSolutionDeploymentState
SPSolutionDeploymentState 值。

請參閱

參照

SPSolution class

SPSolution members

Microsoft.SharePoint.Administration namespace