共用方式為


SPSolution.SolutionId Property

Returns the solution id specified in the manifest file.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property SolutionId As Guid
    Get
'Usage
Dim instance As SPSolution
Dim value As Guid

value = instance.SolutionId
public Guid SolutionId { get; }

Property Value

Type: System.Guid
A GUID.

See Also

Reference

SPSolution Class

SPSolution Members

Microsoft.SharePoint.Administration Namespace