IDTSApplication100.OpenProject 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Opens a specified project.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Function OpenProject ( _
bstrProjectFileName As String, _
pEvents As IDTSEvents100 _
) As IDTSProject100
'用途
Dim instance As IDTSApplication100
Dim bstrProjectFileName As String
Dim pEvents As IDTSEvents100
Dim returnValue As IDTSProject100
returnValue = instance.OpenProject(bstrProjectFileName, _
pEvents)
IDTSProject100 OpenProject(
string bstrProjectFileName,
IDTSEvents100 pEvents
)
IDTSProject100^ OpenProject(
[InAttribute] String^ bstrProjectFileName,
[InAttribute] IDTSEvents100^ pEvents
)
abstract OpenProject :
bstrProjectFileName:string *
pEvents:IDTSEvents100 -> IDTSProject100
function OpenProject(
bstrProjectFileName : String,
pEvents : IDTSEvents100
) : IDTSProject100
參數
- bstrProjectFileName
型別:System.String
The file name of the project.
- pEvents
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents100 interface.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100
The newly opened project.