SolutionPackage Constructor (Uri, String, String, String)
Initializes a new instance of the class with the specified site URL, source document library path, solution name, and solution ID.
Namespace: Microsoft.Office.SharePoint.ClientExtensions.Publishing
Assembly: Microsoft.Office.SharePoint.ClientExtensions (in Microsoft.Office.SharePoint.ClientExtensions.dll)
Syntax
'Declaration
Public Sub New ( _
webUrl As Uri, _
srcDocLibRelativePath As String, _
solutionName As String, _
solutionId As String _
)
'Usage
Dim webUrl As Uri
Dim srcDocLibRelativePath As String
Dim solutionName As String
Dim solutionId As String
Dim instance As New SolutionPackage(webUrl, _
srcDocLibRelativePath, solutionName, _
solutionId)
public SolutionPackage(
Uri webUrl,
string srcDocLibRelativePath,
string solutionName,
string solutionId
)
Parameters
webUrl
Type: System.UriThe URL of the site that contains the solution and where the package is to be published.
srcDocLibRelativePath
Type: System.StringThe relative URL of the document library containing the client-ready artifacts. The artifacts should contain a file named oir.config.
solutionName
Type: System.StringThe name of the solution.
solutionId
Type: System.StringThe solution identifier (ID). This should be the same as the solution ID in the oir.config file.
See Also
Reference
Microsoft.Office.SharePoint.ClientExtensions.Publishing Namespace