IVstaHelper.LoadVSTA2Project 方法

定义

从指定的项目文件升级和加载该项目。

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

参数

storage
VSTAScriptProjectStorage

项目存储区。

referencesToRemove
IEnumerable<String>

要删除的程序集引用。

referenceNamesToAdd
IEnumerable<String>

要添加的程序集引用。

返回

如果方法成功,则为 true;否则为 false。

适用于