SolutionPackage.GenerateUnsigned Method
Generates the package without signing.
Namespace: Microsoft.Office.SharePoint.ClientExtensions.Publishing
Assembly: Microsoft.Office.SharePoint.ClientExtensions (in Microsoft.Office.SharePoint.ClientExtensions.dll)
Syntax
'Declaration
Public Function GenerateUnsigned ( _
targetDocLibRelativePath As String _
) As String
'Usage
Dim instance As SolutionPackage
Dim targetDocLibRelativePath As String
Dim returnValue As String
returnValue = instance.GenerateUnsigned(targetDocLibRelativePath)
public string GenerateUnsigned(
string targetDocLibRelativePath
)
Parameters
targetDocLibRelativePath
Type: System.StringThe path of the document library where the package should be published. This path is relative to the site URL.
Return Value
Type: System.String
The solution package URL string.
Exceptions
Exception | Condition |
---|---|
PublishException | This exception is thrown if any of the following conditions applies:
|
Examples
Code Snippet: Create a BCS Solution Package for a Declarative Solution
See Also
Reference
Microsoft.Office.SharePoint.ClientExtensions.Publishing Namespace