SPUpgradeJobDefinition-Konstruktor (String, SPService, SPServer, SPJobLockType)
HINWEIS: Diese API ist veraltet.
Initialisiert eine neue Instanz der SPUpgradeJobDefinition -Klasse.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use the simplified SPUpgradeJobDefinition constructor", _
False)> _
Public Sub New ( _
name As String, _
service As SPService, _
server As SPServer, _
lockType As SPJobLockType _
)
'Usage
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",
false)]
public SPUpgradeJobDefinition(
string name,
SPService service,
SPServer server,
SPJobLockType lockType
)
Parameter
name
Typ: System.StringDen vertrauten Namen der Auftragsdefinition.
service
Typ: Microsoft.SharePoint.Administration.SPServiceDie SPService -Instanz der Auftragsdefinition zugeordnet.
server
Typ: Microsoft.SharePoint.Administration.SPServerDie SPServer -Instanz der Auftragsdefinition zugeordnet.
lockType
Typ: Microsoft.SharePoint.Administration.SPJobLockTypeDer SPJobLockType -Enumerationswert, der Auftragsdefinition zugeordnet.