Sdílet prostřednictvím


IVstaHelper.LoadVSAProject Method

Definition

Loads the project from the specified project file.

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

Parameters

storage
VSTAScriptProjectStorage

The project storage.

projTemplate
String

The project template.

referencesToRemove
IEnumerable<String>

The assembly references to remove.

referenceNamesToAdd
IEnumerable<String>

The assembly references to add.

Returns

true if the loading succeeded; otherwise, false.

Applies to