共用方式為


SPServerJobDefinition members

Include protected members
Include inherited members

SharePoint 伺服器陣列中特定伺服器上執行此工作定義。

The SPServerJobDefinition type exposes the following members.

Constructors

  Name Description
Protected method SPServerJobDefinition() 初始化[Microsoft.SharePoint.Administration.SPServerJobDefinition]類別的新執行個體。
Protected method SPServerJobDefinition(String, SPServer) 初始化指定伺服器上呼叫name[Microsoft.SharePoint.Administration.SPServerJobDefinition]類別的新執行個體。

Top

Properties

  Name Description
Public property CanRenameOnRestore 取得 Boolean 值,指出是否可以在還原時間命名此物件。 (Inherited from SPJobDefinition.)
Public property CanSelectForBackup 取得並設定 Boolean 值,指出是否已選取備份此物件。 (Inherited from SPJobDefinition.)
Public property CanSelectForRestore 取得並設定 Boolean 值,指出是否已選取備份此物件。 (Inherited from SPJobDefinition.)
Public property Description 取得工作定義的當地語系化的說明。 (Inherited from SPJobDefinition.)
Public property DiskSizeRequired 取得磁碟大小所需的備份。 (Inherited from SPJobDefinition.)
Public property DisplayName 取得工作定義的本地化的名稱。 (Inherited from SPJobDefinition.)
Public property EnableBackup 取得一個Boolean值,指出工作是否可以參與的備份/還原程序。 (Inherited from SPJobDefinition.)
Public property Farm 取得物件所在的伺服器陣列。 (Inherited from SPPersistedObject.)
Public property HistoryEntries 列舉針對此工作定義的工作歷程記錄項目。 (Inherited from SPJobDefinition.)
Public property Id 取得或設定與物件關聯的 GUID。 (Inherited from SPPersistedObject.)
Public property IsDisabled 取得或設定是否應停用工作定義。 (Inherited from SPJobDefinition.)
Public property LastRunTime 取得上次執行的工作定義的時間。 (Inherited from SPJobDefinition.)
Public property LockType 取得的鎖定類型的工作定義。 (Inherited from SPJobDefinition.)
Public property Name 取得或設定用來唯一地識別具有相同的父項和類別的兩個物件的名稱。 (Inherited from SPPersistedObject.)
Public property Parent 取得父項的組態物件樹狀目錄之邏輯階層中。 (Inherited from SPPersistedObject.)
Public property Properties 取得保存物件的中繼資料。 (Inherited from SPPersistedObject.)
Public property Retry 取得或設定是否應重試工作定義,如果它不會結束。 (Inherited from SPJobDefinition.)
Public property Schedule 取得或設定工作定義的排程。 (Inherited from SPJobDefinition.)
Public property Server 取得工作定義的伺服器。 (Inherited from SPJobDefinition.)
Public property Service 取得此工作定義的服務。 (Inherited from SPJobDefinition.)
Public property Status 取得或設定此類別代表物件的狀態。 (Inherited from SPPersistedObject.)
Public property Title 取得或設定工作定義的標題。 (Inherited from SPJobDefinition.)
Public property TypeName 取得說明系統管理使用者介面中的物件類型的顯示名稱。 (Inherited from SPPersistedObject.)
Public property UpgradedPersistedProperties 取得已刪除或變更的欄位的欄位名稱和值集合。 (Inherited from SPAutoSerializingObject.)
Public property VerboseTracingEnabled 取得並設定 Boolean 值,指出是否啟用詳細資訊追蹤。 (Inherited from SPJobDefinition.)
Public property Version 取得一個值,每的次就遞增物件已更新。 (Inherited from SPPersistedObject.)
Protected property WasCreated 取得 Boolean 值,指出物件是否已初始化,以及是否可以在資料庫中找到。 (Inherited from SPPersistedObject.)
Public property WebApplication 取得此工作定義的 web 應用程式。 (Inherited from SPJobDefinition.)

Top

Methods

  Name Description
Public method AddBackupObjects 將此SPJobDefinition物件新增至備份/還原作業。 (Inherited from SPJobDefinition.)
Public method Clone 會傳回物件,不是來自於記憶體中快取,可讓呼叫的程式碼,以協助確保執行緒安全的複製物件。 (Inherited from SPPersistedObject.)
Public method Delete 會刪除工作定義。 (Inherited from SPJobDefinition.)
Public method Equals 會決定目前保存的物件是否等於指定的物件。 (Inherited from SPPersistedObject.)
Public method Execute(Guid) 執行指定的工作執行個體識別碼為基礎的工作定義。 (Inherited from SPPausableJobDefinition.)
Public method Execute(SPJobState) 執行工作定義。 (Inherited from SPPausableJobDefinition.)
Protected method Finalize (Inherited from Object.)
Public method GetChild<T>() 會傳回指定類型為基礎的持續性物件的子系。 (Inherited from SPPersistedObject.)
Public method GetChild<T>(String) 會傳回指定名稱為基礎的持續性物件的子物件。 (Inherited from SPPersistedObject.)
Public method GetHashCode 做為保存物件的雜湊函數。 (Inherited from SPPersistedObject.)
Public method GetObjectData 取得序列的物件的狀態。 (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method HasAdditionalUpdateAccess 覆寫此方法,以允許多個使用者更新物件。 (Inherited from SPPersistedObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnAbort 當使用者取消作業時呼叫。 (Inherited from SPJobDefinition.)
Public method OnBackup 備份系統時呼叫。 (Inherited from SPJobDefinition.)
Public method OnBackupComplete 備份作業完成後呼叫。 (Inherited from SPJobDefinition.)
Protected method OnDeserialization 緊接在後呼叫基底類別會還原序列化本身執行其他工作。 (Inherited from SPPersistedObject.)
Public method OnPostRestore 呼叫完成系統將備份還原。 (Inherited from SPJobDefinition.)
Public method OnPrepareBackup 呼叫時系統準備備份作業。 (Inherited from SPJobDefinition.)
Public method OnPreRestore 當系統準備還原備份時呼叫。 (Inherited from SPJobDefinition.)
Public method OnRestore 呼叫時還原系統。 (Inherited from SPJobDefinition.)
Public method Provision 以本機伺服器,才能使用該物件所需進行的變更。 (Inherited from SPPersistedObject.)
Public method RunNow 排程立即執行的工作。 (Inherited from SPJobDefinition.)
Public method ToString 會傳回所有階 (父項、 上二層,依此類推) 和物件的名稱與類型。 (Inherited from SPPersistedObject.)
Public method Uncache 釋放物件所使用的記憶體快取。 (Inherited from SPPersistedObject.)
Public method Unprovision 對本機伺服器時,需要清理之後刪除之物件所做的變更。 (Inherited from SPPersistedObject.)
Public method Update() 會儲存其狀態,並將變更傳播到伺服器陣列中的所有機器的工作定義。 (Inherited from SPJobDefinition.)
Public method Update(Boolean) 會使物件以儲存狀態,並傳播到的所有電腦的伺服器陣列,選擇性地擲回例外狀況,如果物件已存在設定存放區中的變更。 (Inherited from SPPersistedObject.)
Protected method UpdateParent 會包含SPPersistedObject,若有的話,來更新其狀態。 (Inherited from SPAutoSerializingObject.)
Public method UpdateProgress 這會更新目前的伺服器上執行的工作定義已完成執行工作的百分比。 (Inherited from SPJobDefinition.)
Protected method Validate 驗證工作定義之前保存物件的狀態。 (Inherited from SPJobDefinition.)

Top

請參閱

參照

SPServerJobDefinition class

Microsoft.SharePoint.Administration namespace