Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPUtility.GetUploadedSolutionOp method

Retrieves the solution operation (op) code for a newly uploaded solution.

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

public static string GetUploadedSolutionOp(
	SPSite site,
	string solutionId,
	string solutionHash


Type: Microsoft.SharePoint.SPSite

The SPSite object that represents the SharePoint Services Web site.

Type: System.String

The identifier that was specified in the manifest file for the solution.

Type: System.String

A string that identifies the solution hash.

Return value

Type: System.String
A string that indicates the op code for the solution. The op code value can be one of the following: ACT, UPG, or null.

An op code of ACT indicates that there is no active solution that has the same identifier. An op code of UPG indicates that there is an active solution that has the same identifier but uses a different hash.

© 2015 Microsoft