SPFeatureDefinition.SolutionId Property

Gets the identifier of the solution used to deploy this Feature, or Empty if the Feature was added directly through a command-line operation or through the object model.

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

Syntax

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

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

Property Value

Type: System.Guid
A Guid that represents the solution identifier.

Remarks

A solution manifest file defines the constituent parts of a solution, including its files, assemblies, code access security, Web Parts, Features, site definitions, and other resources.

See Also

Reference

SPFeatureDefinition Class

SPFeatureDefinition Members

Microsoft.SharePoint.Administration Namespace

Other Resources

Solution Schema