共用方式為


SPSolution.ContainsGlobalAssembly property

會傳回一個值,指出是否解決方案包含已安裝在全域組件快取的組件。

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

Syntax

'宣告
Public ReadOnly Property ContainsGlobalAssembly As Boolean
    Get
'用途
Dim instance As SPSolution
Dim value As Boolean

value = instance.ContainsGlobalAssembly
public bool ContainsGlobalAssembly { get; }

Property value

Type: System.Boolean
true如果方案組件已安裝在全域組件快取 ;否則,請false。

請參閱

參照

SPSolution class

SPSolution members

Microsoft.SharePoint.Administration namespace