语言

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>

添加的组装引用。

返回

如果加载成功,则为真;否则,就是假的。

适用于