SPFirstAvailableServiceJobDefinition constructor (String, SPService)
Initializes a new instance of the SPFirstAvailableServiceJobDefinition class by using the specified parameters.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub New ( _
name As String, _
service As SPService _
)
'Usage
Dim name As String
Dim service As SPService
Dim instance As New SPFirstAvailableServiceJobDefinition(name, service)
protected SPFirstAvailableServiceJobDefinition(
string name,
SPService service
)
Parameters
name
Type: System.StringSpecifies the name of the job definition.
service
Type: Microsoft.SharePoint.Administration.SPServiceSpecifies an SPService object instance.
See also
Reference
SPFirstAvailableServiceJobDefinition class
SPFirstAvailableServiceJobDefinition members