共用方式為


SPJobDefinition.Server property

取得工作定義的伺服器。

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

Syntax

'宣告
Public ReadOnly Property Server As SPServer
    Get
'用途
Dim instance As SPJobDefinition
Dim value As SPServer

value = instance.Server
public SPServer Server { get; }

Property value

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

請參閱

參照

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace