次の方法で共有


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。

適用対象