語言

AddInStore.UpdateAddIns(String) 方法

定義

更新外掛快取,並在指定位置新增外掛。

public:
 static cli::array <System::String ^> ^ UpdateAddIns(System::String ^ addInsFolderPath);
[System.Security.SecurityCritical]
public static string[] UpdateAddIns(string addInsFolderPath);
[<System.Security.SecurityCritical>]
static member UpdateAddIns : string -> string[]
Public Shared Function UpdateAddIns (addInsFolderPath As String) As String()

參數

addInsFolderPath
String

目錄中包含一個或多個外掛子目錄的路徑。

傳回

String[]

一組字串描述警報,當管線段被評估時。

屬性

例外狀況

管線目錄結構中缺少一個段目錄。

管線目錄結構存在存取違規。

addInsFolderPath 是 null。

呼叫者並未同時擁有由 所指定的 addInsFolderPath位置的讀寫權限。

備註

如果你的外掛程式不在管線目錄結構之外,請呼叫這個方法。

如果沒有安裝新的外掛,這個方法只會驗證快取。

適用於