SPServiceInstanceJobDefinition constructor (SPServiceInstance, Boolean)
Initializes a new instance of the SPServiceInstanceJobDefinition class.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
serviceInstance As SPServiceInstance, _
provision As Boolean _
)
'Usage
Dim serviceInstance As SPServiceInstance
Dim provision As Boolean
Dim instance As New SPServiceInstanceJobDefinition(serviceInstance, _
provision)
public SPServiceInstanceJobDefinition(
SPServiceInstance serviceInstance,
bool provision
)
Parameters
serviceInstance
Type: Microsoft.SharePoint.Administration.SPServiceInstanceThe SPServiceInstance object that represents an instance of a service that runs on a server within the SPFarm.
provision
Type: System.BooleanA Boolean variable that specifies whether changes are required to the local server so that the SPServiceInstanceJobDefinition object can be used.
Remarks
The wssnoversshort allows site administrators to create pages, lists, and document libraries within the site context. These SPFeature objects are a method of bundling extension modules together to provision them into a site.
See also
Reference
SPServiceInstanceJobDefinition class
SPServiceInstanceJobDefinition members