Поделиться через


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>

Ссылки на сборку, подлежащие добавлению.

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

значение true, если загрузка выполнена успешно; в противном случае — false.

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