共用方式為


Application Registry Service 管理 (SharePoint Server 2010)

 

適用版本: SharePoint Foundation 2010, SharePoint Server 2010

上次修改主題的時間: 2016-11-30

Application Registry Service 是 SharePoint Server 2010 中的共用服務,可儲存與 Office SharePoint Server 2007 商務資料目錄物件模型相容的應用程式定義。若您是從 Office SharePoint Server 2007 版本對版本的升級至 SharePoint Server 2010,或您獨立安裝 SharePoint Server 2010,則預設會開啟服務。若您不是從 Office SharePoint Server 2007 升級解決方案至 SharePoint Server 2010,您就可以將服務關閉以提升效能。本文說明如何使用管理中心或 Windows PowerShell 來關閉及開啟 Application Registry Service。

本文內容:

  • Application Registry Service

  • 停止 Application Registry Service

  • 啟動 Application Registry Service

Application Registry Service

Application Registry Service 是 SharePoint Server 2010 中的共用服務,可儲存定義連線至外部資料之方式的應用程式定義,如同其會定義在 Office SharePoint Server 2007 中一樣。在 SharePoint Server 2010 中,會由 Business Data Connectivity Service 這項新的服務來取代 Office SharePoint Server 2007 商務資料目錄,以將外部資料整合為解決方案。不過,Business Data Connectivity Service 物件模型不具有與商務資料目錄中使用之物件模型的舊版相容性。因此,Application Registry Service 是建立來儲存與商務資料目錄物件模型相容的應用程式定義。因為 Application Registry Service 支援商務資料目錄的物件模型,所以 Application Registry Service 可以支援取決於商務資料目錄物件模型的解決方案。Application Registry Service 可以支援原先在 Office SharePoint Server 2007 中建立的應用程式,其包含下列一或多項元素:

  • 自訂網頁組件

  • 自訂程式碼

  • 搜尋

所有這些項目都取決於商務資料目錄的物件模型或中繼資料結構描述,而且透過 Application Registry Service 仍可於 SharePoint Server 2010 中持續運作。

Office SharePoint Server 2007 提供的網頁組件 (如商務資料清單網頁組件及商務資料關聯網頁組件),在 SharePoint Server 2010 中會升級為依據 Business Data Connectivity Service 加以執行,不過,Office SharePoint Server 2007 解決方案中自訂的網頁組件會在升級後,依據 Application Registry Service 加以執行。如需詳細資訊,請參閱<網頁組件>。

重要

請注意,Application Registry Service 已遭取代,而且存在的唯一目的只是為了支援以 Office SharePoint Server 2007 商務資料目錄為依據之解決方案的舊版相容性。請勿以過時的 Application Registry Service 為依據,建置新的解決方案。請在 SharePoint Server 2010 的 Business Data Connectivity Service 上建置新的解決方案。

停止 Application Registry Service

若您不會將依據 Office SharePoint Server 2007 商務資料目錄的解決方案升級至 SharePoint Server 2010,您可關閉 Application Registry Service 以節省資源並簡化伺服器陣列管理。您可使用管理中心或 Windows PowerShell 2.0 停止 Application Registry Service。

使用管理中心停止 Application Registry Service

  1. 確認您用來執行此程序的使用者帳戶為 SharePoint 伺服器陣列管理員群組的成員。

  2. 在 SharePoint 管理中心網站上,按一下 [系統設定]。

  3. 在 [系統設定] 頁面上,按一下 [伺服器] 區段中的 [管理伺服器上的服務]。

  4. 若您想變更要停止 Application Registry Service 的伺服器,請在 [伺服器] 功能表上,按一下 [變更伺服器],然後按一下所要的伺服器名稱。

    注意

    依據預設,僅會顯示可設定的服務。若要檢視所有服務,請在 [檢視] 功能表中,按一下 [全部]。

  5. 若要停止 Application Registry Service,請在服務的 [動作] 欄中,按一下[停止]。

  6. 按一下 [確定] 停止服務。

使用 Windows PowerShell 停止 Application Registry Service

  1. 確認符合下列基本需求:請參閱<Add-SPShellAdmin>。

  2. 在 [開始] 功能表上,按一下 [Microsoft SharePoint 2010 產品]。

  3. 按一下 [SharePoint 2010 管理命令介面]。

  4. 在 Windows PowerShell 命令提示字元處,輸入下列命令:

    Stop-SPServiceInstance -Identity 
    <ServiceGUID>
    

    其中 <服務 GUID> 是 Application Registry Service 的 GUID。若您不知道服務 GUID,可使用 Get-SPServiceInstance Cmdlet 擷取伺服器陣列中的所有服務清單與其 GUID。

如需詳細資訊,請參閱<Stop-SPServiceInstance>。

注意

建議您在執行命令列管理工作時使用 Windows PowerShell。Stsadm 命令列工具已過時,但為與舊版產品相容,仍會隨附提供。

啟動 Application Registry Service

若您在停止 Application Registry Service 後又想重新開啟,可使用管理中心或 Windows PowerShell 2.0 來重新啟動。

使用管理中心啟動 Application Registry Service

  1. 確認您用來執行此程序的使用者帳戶為 SharePoint 伺服器陣列管理員群組的成員。

  2. 在 SharePoint 管理中心網站上,按一下 [系統設定]。

  3. 在 [系統設定] 頁面上,按一下 [伺服器] 區段中的 [管理伺服器上的服務]。

  4. 若您想變更要啟動 Application Registry Service 的伺服器,請在 [伺服器] 功能表上,按一下 [變更伺服器],然後按一下所要的伺服器名稱。

    注意

    依據預設,僅會顯示可設定的服務。若要檢視所有服務,請在 [檢視] 功能表中,按一下 [全部]。

  5. 若要啟動 Application Registry Service,請在服務的 [動作]欄中,按一下 [開始]。

  6. 按一下 [確定] 啟動服務。

使用 Windows PowerShell 啟動 Application Registry Service

  1. 確認符合下列基本需求:請參閱<Add-SPShellAdmin>。

  2. 在 [開始] 功能表上,按一下 [Microsoft SharePoint 2010 產品]。

  3. 按一下 [SharePoint 2010 管理命令介面]。

  4. 在 Windows PowerShell 命令提示字元處,輸入下列命令:

    Start-SPServiceInstance -Identity 
    <ServiceGUID>
    

    其中 <服務 GUID> 是 Application Registry Service 的 GUID。若您不知道服務 GUID,可使用 Get-SPServiceInstance Cmdlet 擷取伺服器陣列中的所有服務清單與其 GUID。

如需詳細資訊,請參閱<Start-SPServiceInstance>。

注意

建議您在執行命令列管理工作時使用 Windows PowerShell。Stsadm 命令列工具已過時,但為與舊版產品相容,仍會隨附提供。

See Also

Concepts

規劃升級為 Business Connectivity Services (SharePoint Server 2010)