共用方式為


IDTSApplication100.OpenProject(String, IDTSEvents100) Method

Definition

Opens a specified project.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSProject100 ^ OpenProject(System::String ^ bstrProjectFileName, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents);
[System.Runtime.InteropServices.DispId(67)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100 OpenProject (string bstrProjectFileName, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(67)>]
abstract member OpenProject : string * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100
Public Function OpenProject (bstrProjectFileName As String, pEvents As IDTSEvents100) As IDTSProject100

Parameters

bstrProjectFileName
String

The file name of the project.

pEvents
IDTSEvents100

An IDTSEvents100 interface.

Returns

The newly opened project.

Attributes

Applies to