Partager via


IVstaHelper.LoadVSAProject Méthode

Définition

Charge le projet à partir du fichier projet spécifié.

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

Paramètres

storage
VSTAScriptProjectStorage

Stockage du projet.

projTemplate
String

Modèle de projet.

referencesToRemove
IEnumerable<String>

Références d'assembly à supprimer.

referenceNamesToAdd
IEnumerable<String>

Références d'assembly à ajouter.

Retours

true si le chargement a réussi ; sinon, false.

S’applique à