IDTSProjectAccessor100.OpenProject Método
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Opens a specified project for the project assessor.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado: Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxis
'Declaración
Function OpenProject ( _
bstrProjectFileName As String, _
bstrProjectPassword As String, _
pEvents As IDTSEvents100 _
) As IDTSProject100
'Uso
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
Parámetros
- bstrProjectFileName
Tipo: System.String
The file name of the project.
- bstrProjectPassword
Tipo: System.String
The password of the project.
- pEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
The events.
Valor devuelto
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100