AddInStore.UpdateAddIns(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
更新外接程序缓存,并在指定位置包含新的外接程序。
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位置的读取和写入访问权限。
注解
如果加载项位于管道目录结构之外,请调用此方法。
如果未安装任何新的加载项,此方法只会验证缓存。