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[]

一个由在计算管线段时描述警告的字符串组成的集合。

属性

例外

管线目录结构中缺少段目录。

存在管线目录结构访问冲突。

addInsFolderPathnull

调用方没有 addInsFolderPath 所指定地点的读写访问权限。

注解

如果外接程序位于管道目录结构之外,请调用此方法。

如果未安装任何新加载项,则此方法仅验证缓存。

适用于