Share via


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

Return value

Type: System.Guid
Returns Guid.

Remarks

Represents the work item identifier.

See also

Reference

SPManager class

SPManager members

Microsoft.SharePoint.Upgrade namespace