SPUpgradeJobDefinition Constructor (String, SPService, SPServer, SPJobLockType)

NOTE: This API is now obsolete.

Initialize a new instance of the SPUpgradeJobDefinition class.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


<ObsoleteAttribute("Use the simplified SPUpgradeJobDefinition constructor",  _
    False)> _
Public Sub New ( _
    name As String, _
    service As SPService, _
    server As SPServer, _
    lockType As SPJobLockType _
Dim name As String
Dim service As SPService
Dim server As SPServer
Dim lockType As SPJobLockType

Dim instance As New SPUpgradeJobDefinition(name, service, _
    server, lockType)
[ObsoleteAttribute("Use the simplified SPUpgradeJobDefinition constructor", 
public SPUpgradeJobDefinition(
    string name,
    SPService service,
    SPServer server,
    SPJobLockType lockType


  • name
    Type: System.String

    The familiar name of the job definition.

See Also


SPUpgradeJobDefinition Class

SPUpgradeJobDefinition Members

SPUpgradeJobDefinition Overload

Microsoft.SharePoint.Administration Namespace