Share via


SPSolution.ContainsGlobalAssembly property

Returns a value indicating whether the solution contains an assembly that is installed in the global assembly cache.

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

Syntax

'Declaration
Public ReadOnly Property ContainsGlobalAssembly As Boolean
    Get
'Usage
Dim instance As SPSolution
Dim value As Boolean

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

Property value

Type: System.Boolean
true if the solution assembly is installed in the global assembly cache; otherwise, false.

See also

Reference

SPSolution class

SPSolution members

Microsoft.SharePoint.Administration namespace