共用方式為


SPJobDefinition.WebApplication property

取得此工作定義的 web 應用程式。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property WebApplication As SPWebApplication
    Get
'用途
Dim instance As SPJobDefinition
Dim value As SPWebApplication

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

Property value

Type: Microsoft.SharePoint.Administration.SPWebApplication
SPWebApplication 物件。

請參閱

參照

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace