Partilhar via


IVstaHelper.LoadVSTA2Project Método

Definição

Atualiza e carrega o projeto do arquivo de projeto especificado.

public:
 bool LoadVSTA2Project(Microsoft::SqlServer::VSTAHosting::VSTAScriptProjectStorage ^ storage, System::Collections::Generic::IEnumerable<System::String ^> ^ referencesToRemove, System::Collections::Generic::IEnumerable<System::String ^> ^ referenceNamesToAdd);
public bool LoadVSTA2Project (Microsoft.SqlServer.VSTAHosting.VSTAScriptProjectStorage storage, System.Collections.Generic.IEnumerable<string> referencesToRemove, System.Collections.Generic.IEnumerable<string> referenceNamesToAdd);
abstract member LoadVSTA2Project : Microsoft.SqlServer.VSTAHosting.VSTAScriptProjectStorage * seq<string> * seq<string> -> bool
Public Function LoadVSTA2Project (storage As VSTAScriptProjectStorage, referencesToRemove As IEnumerable(Of String), referenceNamesToAdd As IEnumerable(Of String)) As Boolean

Parâmetros

storage
VSTAScriptProjectStorage

Os armazenamento do projeto.

referencesToRemove
IEnumerable<String>

As referências de assembly a serem removidas.

referenceNamesToAdd
IEnumerable<String>

As referência de assembly a serem adicionadas.

Retornos

true se o método tiver sido bem-sucedido; caso contrário, false.

Aplica-se a