VstaHelper.LoadVSAProject Method

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

Loads VSA project from the storage.

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

Syntax

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

returnValue = instance.LoadVSAProject(storage, _
    projTemplate, referencesToRemove, _
    referencesToAdd)
public bool LoadVSAProject(
    VSTAScriptProjectStorage storage,
    string projTemplate,
    IEnumerable<string> referencesToRemove,
    IEnumerable<string> referencesToAdd
)
public:
virtual bool LoadVSAProject(
    VSTAScriptProjectStorage^ storage, 
    String^ projTemplate, 
    IEnumerable<String^>^ referencesToRemove, 
    IEnumerable<String^>^ referencesToAdd
) sealed
abstract LoadVSAProject : 
        storage:VSTAScriptProjectStorage * 
        projTemplate:string * 
        referencesToRemove:IEnumerable<string> * 
        referencesToAdd:IEnumerable<string> -> bool  
override LoadVSAProject : 
        storage:VSTAScriptProjectStorage * 
        projTemplate:string * 
        referencesToRemove:IEnumerable<string> * 
        referencesToAdd:IEnumerable<string> -> bool
public final function LoadVSAProject(
    storage : VSTAScriptProjectStorage, 
    projTemplate : String, 
    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