共用方式為


SPJobDefinition.Service Property

Gets the service for this job definition.

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

Syntax

'Declaration
Public ReadOnly Property Service As SPService
    Get
'Usage
Dim instance As SPJobDefinition
Dim value As SPService

value = instance.Service
public SPService Service { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPService
An SPService object.

See Also

Reference

SPJobDefinition Class

SPJobDefinition Members

Microsoft.SharePoint.Administration Namespace