Share via


IVstaHelper.LoadVSTA2Project Method

Definition

Upgrades and loads the project from the specified project file.

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

Parameters

storage
VSTAScriptProjectStorage

The project storage.

referencesToRemove
IEnumerable<String>

The assembly references to remove.

referenceNamesToAdd
IEnumerable<String>

The assembly references to add.

Returns

true if the method succeeded; otherwise, false.

Applies to