GetUploadedSolutionOp method
Collapse the table of content
Expand the table of content

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