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。

适用于