SPSolutionLanguagePack.Upgrade method (String, DateTime)
從舊版升級的語言套件,目前的版本,使用指定的方案檔案,並執行在指定的時間排程。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Upgrade ( _
path As String, _
dt As DateTime _
)
'用途
Dim instance As SPSolutionLanguagePack
Dim path As String
Dim dt As DateTime
instance.Upgrade(path, dt)
public void Upgrade(
string path,
DateTime dt
)
參數
path
Type: System.String解決方案檔案的路徑。
dt
Type: System.DateTimeDateTime物件,指出執行計時器工作的時間。
備註
根據預設,沒有應用程式集區重設之後部署或後退回使用物件模型的解決方案。若要手動重設應用程式集區,您可以停止並重新啟動應用程式集區的 web 應用程式,您已部署或後退回解決方案。
如果您執行多個工作及所執行的順序很重要,請確定指定時間是否已足以完成之前送出下一個工作每個工作。集區中多個工作時,所執行的順序是不可預期。