共用方式為


SPWebServiceInstance members

Include protected members
Include inherited members

代表特定伺服器上執行SharePoint Foundation Web 服務的執行個體。

The SPWebServiceInstance type exposes the following members.

Constructors

  Name Description
Public method SPWebServiceInstance() 保留僅供內部使用。
Public method SPWebServiceInstance(String, SPServer, SPWebService) 初始化指定的顯示名稱、 伺服器及 Web 服務為基礎的SPWebServiceInstance類別的新執行個體。

Top

Properties

  Name Description
Public property CanUpgrade 取得一個值,指出是否可以升級物件。 (Inherited from SPPersistedUpgradableObject.)
Public property Description 取得服務中管理使用者介面所使用的描述。 (Inherited from SPServiceInstance.)
Public property DisableLocalHttpThrottling 如果這是,則為 true,將會停用 http 節流本機伺服器上。預設值為 false
Public property DisplayName 取得說明系統管理使用者介面中的持續性的物件執行個體的顯示名稱。 (Inherited from SPPersistedObject.)
Public property Farm 取得物件所在的伺服器陣列。 (Inherited from SPPersistedObject.)
Public property Hidden 取得 Boolean 值,指出是否在使用者介面中顯示的服務執行個體。 (Inherited from SPServiceInstance.)
Public property Id 取得或設定與物件關聯的 GUID。 (Inherited from SPPersistedObject.)
Public property Instance 取得此執行個體的名稱。 (Inherited from SPServiceInstance.)
Public property IsBackwardsCompatible 取得或設定一個值,指出目前物件是否回溯相容。 (Inherited from SPPersistedUpgradableObject.)
Public propertyStatic member LocalAdministration 取得目前的伺服器執行的目前 Central Administratiion Web 服務執行個體。
Public propertyStatic member LocalContent 取得目前的伺服器執行的目前 Web 服務執行個體。
Public property ManageLink 取得連結物件,代表管理 SharePoint 管理中心的 [伺服器上的服務] 頁面上的服務的動作。 (Inherited from SPServiceInstance.)
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 Properties 取得保存物件的中繼資料。 (Inherited from SPPersistedObject.)
Public property ProvisionLink 取得 link 物件,代表在 SharePoint 管理中心的 [伺服器上的服務] 頁面啟動服務的動作。 (Inherited from SPServiceInstance.)
Protected property ProvisionUpdateStatus 取得 Boolean 值,指出呼叫Provision方法時,是否要物件狀態設為Online 。 (Inherited from SPServiceInstance.)
Public property Roles Obsolete. 取得分類在 SharePoint 管理中心的伺服器上的服務] 頁面上的服務執行個體所屬角色的清單。 (Inherited from SPServiceInstance.)
Public property Server 取得在其安裝的服務執行個體的伺服器。 (Inherited from SPServiceInstance.)
Public property Service 取得擁有此服務執行個體的服務。 (Inherited from SPServiceInstance.)
Public property Status 取得或設定此類別代表物件的狀態。 (Inherited from SPPersistedObject.)
Public property SystemService 取得 Boolean 值,指出服務是否為系統服務。 (Inherited from SPServiceInstance.)
Public property TypeName 取得可用來描述系統管理使用者介面中的物件類型的顯示名稱。 (Overrides SPServiceInstance.TypeName.)
Public property UnprovisionLink 取得 link 物件,代表巨集指令,停止 SharePoint 管理中心的 [伺服器上的服務] 頁面上的服務。 (Inherited from SPServiceInstance.)
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 SPPersistedObject.)
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 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.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization 緊接在後呼叫基底類別會還原序列化本身執行其他工作。 (Inherited from SPPersistedObject.)
Public method Provision 會建立的所有 Iis 網站、 虛擬目錄,與所需的伺服器上運作的 Web 服務應用程式集區。 (Overrides SPServiceInstance.Provision().)
Public method ToString 會傳回所有階 (父項、 上二層,依此類推) 和物件的名稱與類型。 (Inherited from SPPersistedObject.)
Public method Uncache 釋放物件所使用的記憶體快取。 (Inherited from SPPersistedObject.)
Public method Unprovision 從伺服器移除 Web 服務的所有殘留部分。 (Overrides SPServiceInstance.Unprovision().)
Public method Update() 會使物件以儲存狀態,並傳播至伺服器陣列中的所有電腦的變更。 (Inherited from SPPersistedObject.)
Public method Update(Boolean) 會使物件以儲存狀態,並傳播到的所有電腦的伺服器陣列,選擇性地擲回例外狀況,如果物件已存在設定存放區中的變更。 (Inherited from SPPersistedObject.)
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

請參閱

參照

SPWebServiceInstance class

Microsoft.SharePoint.Administration namespace