Export (0) Print
Expand All

SPSolutionCollection.Add method (String)

Adds a solution with the specified solution file to the collection of solutions.

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

public SPSolution Add(
	string path
)

Parameters

path
Type: System.String

The location of the solution file.

Using the SPSolution constructor to create a solution object is not supported and returns a NullReferenceException if you attempt to implement members of an object created through the constructor.

Show:
© 2014 Microsoft