SPWorkItemJobDefinition Constructors

Definition

Overloads

SPWorkItemJobDefinition()
SPWorkItemJobDefinition(String, SPWebApplication)
SPWorkItemJobDefinition(String, SPService, SPServer, SPJobLockType)
Obsolete.
SPWorkItemJobDefinition(String, SPWebApplication, SPServer, SPJobLockType)
Obsolete.

SPWorkItemJobDefinition()

public:
 SPWorkItemJobDefinition();
public SPWorkItemJobDefinition ();
Public Sub New ()

Applies to

SPWorkItemJobDefinition(String, SPWebApplication)

protected:
 SPWorkItemJobDefinition(System::String ^ name, Microsoft::SharePoint::Administration::SPWebApplication ^ webApplication);
protected SPWorkItemJobDefinition (string name, Microsoft.SharePoint.Administration.SPWebApplication webApplication);
new Microsoft.SharePoint.Administration.SPWorkItemJobDefinition : string * Microsoft.SharePoint.Administration.SPWebApplication -> Microsoft.SharePoint.Administration.SPWorkItemJobDefinition
Protected Sub New (name As String, webApplication As SPWebApplication)

Parameters

name
String
webApplication
SPWebApplication

Applies to

SPWorkItemJobDefinition(String, SPService, SPServer, SPJobLockType)

Caution

Use the simplified SPWorkItemJobDefinition constructor

public:
 SPWorkItemJobDefinition(System::String ^ name, Microsoft::SharePoint::Administration::SPService ^ service, Microsoft::SharePoint::Administration::SPServer ^ server, Microsoft::SharePoint::Administration::SPJobLockType lockType);
[System.Obsolete("Use the simplified SPWorkItemJobDefinition constructor", false)]
public SPWorkItemJobDefinition (string name, Microsoft.SharePoint.Administration.SPService service, Microsoft.SharePoint.Administration.SPServer server, Microsoft.SharePoint.Administration.SPJobLockType lockType);
new Microsoft.SharePoint.Administration.SPWorkItemJobDefinition : string * Microsoft.SharePoint.Administration.SPService * Microsoft.SharePoint.Administration.SPServer * Microsoft.SharePoint.Administration.SPJobLockType -> Microsoft.SharePoint.Administration.SPWorkItemJobDefinition
Public Sub New (name As String, service As SPService, server As SPServer, lockType As SPJobLockType)

Parameters

name
String
service
SPService
server
SPServer
lockType
SPJobLockType
Attributes

Applies to

SPWorkItemJobDefinition(String, SPWebApplication, SPServer, SPJobLockType)

Caution

Use the simplified SPWorkItemJobDefinition constructor

public:
 SPWorkItemJobDefinition(System::String ^ name, Microsoft::SharePoint::Administration::SPWebApplication ^ webApplication, Microsoft::SharePoint::Administration::SPServer ^ server, Microsoft::SharePoint::Administration::SPJobLockType lockType);
[System.Obsolete("Use the simplified SPWorkItemJobDefinition constructor", false)]
public SPWorkItemJobDefinition (string name, Microsoft.SharePoint.Administration.SPWebApplication webApplication, Microsoft.SharePoint.Administration.SPServer server, Microsoft.SharePoint.Administration.SPJobLockType lockType);
new Microsoft.SharePoint.Administration.SPWorkItemJobDefinition : string * Microsoft.SharePoint.Administration.SPWebApplication * Microsoft.SharePoint.Administration.SPServer * Microsoft.SharePoint.Administration.SPJobLockType -> Microsoft.SharePoint.Administration.SPWorkItemJobDefinition
Public Sub New (name As String, webApplication As SPWebApplication, server As SPServer, lockType As SPJobLockType)

Parameters

name
String
webApplication
SPWebApplication
server
SPServer
lockType
SPJobLockType
Attributes

Applies to