Condividi tramite


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