共用方式為


SPSolutionLanguagePack.Deploy method (DateTime, Boolean, Collection<SPWebApplication>, Boolean)

會建立計時器工作,以指定的 web 應用程式的語言套件部署在指定的時間。

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

Syntax

'宣告
Public Sub Deploy ( _
    dt As DateTime, _
    globalInstallWPPackDlls As Boolean, _
    webApplications As Collection(Of SPWebApplication), _
    force As Boolean _
)
'用途
Dim instance As SPSolutionLanguagePack
Dim dt As DateTime
Dim globalInstallWPPackDlls As Boolean
Dim webApplications As Collection(Of SPWebApplication)
Dim force As Boolean

instance.Deploy(dt, globalInstallWPPackDlls, _
    webApplications, force)
public void Deploy(
    DateTime dt,
    bool globalInstallWPPackDlls,
    Collection<SPWebApplication> webApplications,
    bool force
)

參數

  • dt
    Type: System.DateTime

    DateTime物件,其中包含要執行的計時器工作的時間。

  • force
    Type: System.Boolean

    如果true,則語言套件可要重新部署高度模糊 ;如果false,並將語言套件已經部署時,則會引發例外狀況。

備註

根據預設,沒有應用程式集區重設之後部署或後退回使用物件模型的語言套件。若要手動重設應用程式集區,您可以停止並重新啟動應用程式集區的 web 應用程式,您已部署或後退回解決方案。

如果您執行多個工作及所執行的順序很重要,請確定指定時間是否已足以完成之前送出下一個工作每個工作。集區中多個工作時,所執行的順序是不可預期。

若要部署的非語言相關解決方案,請參閱 < SPSolution

請參閱

參照

SPSolutionLanguagePack class

SPSolutionLanguagePack members

Deploy overload

Microsoft.SharePoint.Administration namespace