SolutionRegistry.StartSolutionActivation Method
Starts the activation of the specified data-only SharePoint solution that is in the pending activation status of the installation process.
Namespace: Microsoft.Office.BusinessApplications.Runtime.Deployment
Assembly: Microsoft.Office.BusinessApplications.Runtime (in Microsoft.Office.BusinessApplications.Runtime.dll)
Syntax
'Declaration
Public Shared Sub StartSolutionActivation ( _
solutionId As String _
)
'Usage
Dim solutionId As String
SolutionRegistry.StartSolutionActivation(solutionId)
public static void StartSolutionActivation(
string solutionId
)
Parameters
- solutionId
Type: System.String
The solution identifier of a data-only solution.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The solutionId is a null reference (Nothing in Visual Basic). |
InvalidOperationException | The specified solution is not a data-only solution, is not in an installation process, is not in pending activation status, is in error status, or has already started activation. |
Remarks
This method does not start an installation of a solution; rather it activates the data-only solutions that are in pending activation status.
See Also
Reference
Microsoft.Office.BusinessApplications.Runtime.Deployment Namespace