共用方式為


SPTracingService members

Include protected members
Include inherited members

代表伺服器陣列的範圍啟用Microsoft SharePoint Foundation 2010診斷追蹤的 Windows 服務。

The SPTracingService type exposes the following members.

Constructors

  Name Description
Public method SPTracingService() 初始化SPTracingService類別的新執行個體。
Public method SPTracingService(SPFarm) 初始化SPTracingService類別與指定之的SPFarm物件的新執行個體

Top

Properties

  Name Description
Public property Applications 取得與服務相關聯的服務應用程式的集合。 (Inherited from SPService.)
Public property CanUpgrade 取得一個值,指出是否可以升級物件。 (Inherited from SPPersistedUpgradableObject.)
Public property DisplayName 取得說明系統管理使用者介面中的持續性的物件執行個體的顯示名稱。 (Inherited from SPPersistedObject.)
Public property Farm 取得物件所在的伺服器陣列。 (Inherited from SPPersistedObject.)
Public property Id 取得或設定與物件關聯的 GUID。 (Inherited from SPPersistedObject.)
Public property Instances 伺服器陣列中取得所有的服務執行個體的集合。 (Inherited from SPService.)
Public property IsBackwardsCompatible 取得或設定一個值,指出目前物件是否回溯相容。 (Inherited from SPPersistedUpgradableObject.)
Public property JobDefinitions 取得此服務的工作定義的集合。 (Inherited from SPService.)
Public property JobHistoryEntries 此服務取得列舉工作的歷程記錄項目。 (Inherited from SPService.)
Public property Name 取得或設定用來唯一地識別具有相同的父項和類別的兩個物件的名稱。 (Inherited from SPPersistedObject.)
Public property NeedsUpgrade 取得或設定 Boolean 值,以指定物件是否需要升級。 (Inherited from SPPersistedUpgradableObject.)
Public property NeedsUpgradeIncludeChildren 取得 Boolean 值,指出是否應該升級物件,考慮物件的子項。 (Inherited from SPPersistedUpgradableObject.)
Public property Parent 取得父項的組態物件樹狀目錄之邏輯階層中。 (Inherited from SPPersistedObject.)
Public property ProcessIdentity 取得 Windows 服務處理序身分識別。 (Inherited from SPWindowsService.)
Public property Properties 取得保存物件的中繼資料。 (Inherited from SPPersistedObject.)
Public property Required 取得 Boolean 值,指出是否必須在伺服器陣列中的至少一部電腦上執行之服務的執行個體。 (Inherited from SPService.)
Public property RunningJobs 會取得一群執行這項服務的工作。 (Inherited from SPService.)
Public property Status 取得或設定此類別代表物件的狀態。 (Inherited from SPPersistedObject.)
Public property TypeName 會取得代表追蹤服務執行個體類型名稱的 string 值。 (Overrides SPPersistedObject.TypeName.)
Public property UpgradeContext 取得目前的升級作業SPUpgradeContext 。 (Inherited from SPPersistedUpgradableObject.)
Public property UpgradedPersistedProperties 取得已刪除或變更的欄位的欄位名稱和值集合。 (Inherited from SPAutoSerializingObject.)
Public property Version 取得一個值,每的次就遞增物件已更新。 (Inherited from SPPersistedObject.)
Protected property WasCreated 取得 Boolean 值,指出物件是否已初始化,以及是否可以在資料庫中找到。 (Inherited from SPPersistedObject.)

Top

Methods

  Name Description
Public method Clone 會傳回物件,不是來自於記憶體中快取,可讓呼叫的程式碼,以協助確保執行緒安全的複製物件。 (Inherited from SPPersistedObject.)
Public method Delete 移除服務及相關的資源。 (Inherited from SPService.)
Public method Equals 會決定目前保存的物件是否等於指定的物件。 (Inherited from SPPersistedObject.)
Protected method Finalize (Inherited from Object.)
Public method GetChild<T>() 會傳回指定類型為基礎的持續性物件的子系。 (Inherited from SPPersistedObject.)
Public method GetChild<T>(String) 會傳回指定名稱為基礎的持續性物件的子物件。 (Inherited from SPPersistedObject.)
Public method GetCreateApplicationLink 會取得用來建立新的服務應用程式的管理使用者介面的連結。 (Inherited from SPService.)
Public method GetCreateApplicationOptions 取得建立新的服務應用程式的選項。 (Inherited from SPService.)
Public method GetHashCode 做為保存物件的雜湊函數。 (Inherited from SPPersistedObject.)
Public method GetObjectData 取得序列的物件的狀態。 (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method HasAdditionalUpdateAccess 覆寫此方法,以允許多個使用者更新物件。 (Inherited from SPPersistedObject.)
Public method Invalidate 無效的計算的屬性值。 (Inherited from SPPersistedUpgradableObject.)
Public method IsUserLicensedForEntity 會檢查目前使用者是否有適當的授權,才能存取指定的實體。 (Inherited from SPService.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization 緊接在後呼叫基底類別會還原序列化本身執行其他工作。 (Inherited from SPPersistedObject.)
Protected method OnPasswordChange 如果您需要特殊處理的密碼變更事件,則請這覆寫。 (Inherited from SPWindowsService.)
Public method Provision 以本機伺服器,才能使用該物件所需進行的變更。 (Inherited from SPPersistedObject.)
Public method ToString 會傳回所有階 (父項、 上二層,依此類推) 和物件的名稱與類型。 (Inherited from SPPersistedObject.)
Public method Uncache 釋放物件所使用的記憶體快取。 (Inherited from SPPersistedObject.)
Public method Unprovision 對本機伺服器時,需要清理之後刪除之物件所做的變更。 (Inherited from SPPersistedObject.)
Public method Update() 會更新其狀態,並將整個伺服器陣列中的變更傳播的服務。 (Inherited from SPWindowsService.)
Public method Update(Boolean) 會使物件以儲存狀態,並傳播到的所有電腦的伺服器陣列,選擇性地擲回例外狀況,如果物件已存在設定存放區中的變更。 (Inherited from SPPersistedObject.)
Public method UpdateCredentials 更新 Windows 服務的認證,其使用者名稱或密碼變更時。 (Inherited from SPWindowsService.)
Protected method UpdateParent 會包含SPPersistedObject,若有的話,來更新其狀態。 (Inherited from SPAutoSerializingObject.)
Public method Upgrade() 升級物件。 (Inherited from SPPersistedUpgradableObject.)
Public method Upgrade(Boolean) 升級物件,並且遞迴方式布林值參數會等於true,升級目前物件的所有子代。 (Inherited from SPPersistedUpgradableObject.)
Protected method Validate 驗證的所有欄位的狀態之前保存物件。 (Inherited from SPPersistedObject.)
Public method ValidateBackwardsCompatibility 在 Web 前端 Dll 的驗證的內容資料庫結構描述的回溯相容性。內容資料庫進行連線,確認資料庫結構描述是相容每次呼叫此方法。 (Inherited from SPPersistedUpgradableObject.)

Top

請參閱

參照

SPTracingService class

Microsoft.SharePoint.Administration namespace