Share via


VstaHelper.LoadVSTA2Project Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Loads a VSTA project.

Namespace:  Microsoft.SqlServer.IntegrationServices.VSTA
Assembly:  Microsoft.SqlServer.IntegrationServices.VSTA (in Microsoft.SqlServer.IntegrationServices.VSTA.dll)

Syntax

'Declaration
Public Function LoadVSTA2Project ( _
    storage As VSTAScriptProjectStorage, _
    referencesToRemove As IEnumerable(Of String), _
    referencesToAdd As IEnumerable(Of String) _
) As Boolean
'Usage
Dim instance As VstaHelper 
Dim storage As VSTAScriptProjectStorage 
Dim referencesToRemove As IEnumerable(Of String)
Dim referencesToAdd As IEnumerable(Of String)
Dim returnValue As Boolean 

returnValue = instance.LoadVSTA2Project(storage, _
    referencesToRemove, referencesToAdd)
public bool LoadVSTA2Project(
    VSTAScriptProjectStorage storage,
    IEnumerable<string> referencesToRemove,
    IEnumerable<string> referencesToAdd
)
public:
virtual bool LoadVSTA2Project(
    VSTAScriptProjectStorage^ storage, 
    IEnumerable<String^>^ referencesToRemove, 
    IEnumerable<String^>^ referencesToAdd
) sealed
abstract LoadVSTA2Project : 
        storage:VSTAScriptProjectStorage * 
        referencesToRemove:IEnumerable<string> * 
        referencesToAdd:IEnumerable<string> -> bool  
override LoadVSTA2Project : 
        storage:VSTAScriptProjectStorage * 
        referencesToRemove:IEnumerable<string> * 
        referencesToAdd:IEnumerable<string> -> bool
public final function LoadVSTA2Project(
    storage : VSTAScriptProjectStorage, 
    referencesToRemove : IEnumerable<String>, 
    referencesToAdd : IEnumerable<String>
) : boolean

Parameters

  • storage
    Type: VSTAScriptProjectStorage
    The storage.

Return Value

Type: System.Boolean
true if the loading succeeded; otherwise, false.

See Also

Reference

VstaHelper Class

Microsoft.SqlServer.IntegrationServices.VSTA Namespace