Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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
)

Parameters

site
Type: Microsoft.SharePoint.SPSite

The SPSite object that represents the SharePoint Services Web site.

solutionId
Type: System.String

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

solutionHash
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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.