共用方式為


SPJobDefinition.WebApplication Property

Gets the web application 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 WebApplication As SPWebApplication
    Get
'Usage
Dim instance As SPJobDefinition
Dim value As SPWebApplication

value = instance.WebApplication
public SPWebApplication WebApplication { get; }

Property Value

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

See Also

Reference

SPJobDefinition Class

SPJobDefinition Members

Microsoft.SharePoint.Administration Namespace