SPManager.AddUpgradeWorkItem method
Adds a work item to be performed post-upgrade.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function AddUpgradeWorkItem ( _
web As SPWeb, _
fullyQualifiedClassName As String, _
data As String _
) As Guid
'Usage
Dim web As SPWeb
Dim fullyQualifiedClassName As String
Dim data As String
Dim returnValue As Guid
returnValue = SPManager.AddUpgradeWorkItem(web, _
fullyQualifiedClassName, data)
public static Guid AddUpgradeWorkItem(
SPWeb web,
string fullyQualifiedClassName,
string data
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe SharePoint Web site for which the work item is applicable.
fullyQualifiedClassName
Type: System.StringThe class name and the file path for the implementation of IUpgradeWorkItem.
data
Type: System.StringThe specific data for the work item.
Return value
Type: System.Guid
Returns Guid.
Remarks
Represents the work item identifier.