Share via


IDTSProjectAccessor100.OpenProject Method

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

Opens a specified project for the project assessor.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Function OpenProject ( _
    bstrProjectFileName As String, _
    bstrProjectPassword As String, _
    pEvents As IDTSEvents100 _
) As IDTSProject100
'Usage
Dim instance As IDTSProjectAccessor100 
Dim bstrProjectFileName As String 
Dim bstrProjectPassword As String 
Dim pEvents As IDTSEvents100 
Dim returnValue As IDTSProject100 

returnValue = instance.OpenProject(bstrProjectFileName, _
    bstrProjectPassword, pEvents)
IDTSProject100 OpenProject(
    string bstrProjectFileName,
    string bstrProjectPassword,
    IDTSEvents100 pEvents
)
IDTSProject100^ OpenProject(
    [InAttribute] String^ bstrProjectFileName, 
    [InAttribute] String^ bstrProjectPassword, 
    [InAttribute] IDTSEvents100^ pEvents
)
abstract OpenProject : 
        bstrProjectFileName:string * 
        bstrProjectPassword:string * 
        pEvents:IDTSEvents100 -> IDTSProject100
function OpenProject(
    bstrProjectFileName : String, 
    bstrProjectPassword : String, 
    pEvents : IDTSEvents100
) : IDTSProject100

Parameters

  • bstrProjectFileName
    Type: System.String
    The file name of the project.
  • bstrProjectPassword
    Type: System.String
    The password of the project.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100

See Also

Reference

IDTSProjectAccessor100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace