Язык

IVstaHelper.LoadVSAProject Метод

Определение

Загружает проект из указанного файла проекта.

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

Параметры

storage
VSTAScriptProjectStorage

Хранилище проекта.

projTemplate
String

Шаблон проекта.

referencesToRemove
IEnumerable<String>

В сборке упоминается «удалить».

referenceNamesToAdd
IEnumerable<String>

Сборка отсылок к добавлению.

Возвращаемое значение

верно, если загрузка удалась; в противном случае — ложь.

Применяется к