AddInStore.RebuildAddIns(String) Método

Definição

Recria o cache de suplemento e inclui novos suplementos de um diretório raiz especificado.Rebuilds the add-in cache and includes new add-ins from a specified root directory.

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

Parâmetros

addInsFolderPath
String

O caminho do diretório que contém um ou mais subdiretórios de suplementos.The path of the directory that contains one or more subdirectories of add-ins.

Retornos

String[]

Uma coleção de cadeias de caracteres que descreve os avisos conforme os segmentos de pipeline são avaliados.A collection of strings that describe warnings as the pipeline segments are evaluated.

Atributos

Exceções

Um diretório do segmento está faltando na estrutura de diretórios de pipeline.A segment directory is missing from the pipeline directory structure.

Há uma violação de acesso para a estrutura de diretórios do pipeline.There is an access violation to the pipeline directory structure.

addInsFolderPath é null.addInsFolderPath is null.

O chamador não tem permissões de acesso de leitura e gravação para o local que é especificado pelo addInsFolderPath.Caller does not have both read and write access permissions to the location that is specified by addInsFolderPath.

Comentários

Chame esse método se os suplementos estiverem fora da estrutura do diretório de pipeline.Call this method if your add-ins are outside the pipeline directory structure.

Use esse método somente quando pode haver um problema com o cache e ele deve ser recriado.Use this method only when there may be a problem with the cache and it must be rebuilt. Para um desempenho mais rápido, use o UpdateAddIns método.For faster performance, use the UpdateAddIns method.

Aplica-se a

Confira também