共用方式為


ApplicationClass.OpenProject(String, IDTSEvents100) Method

Definition

Opens a package from the file system

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSProject100 ^ OpenProject(System::String ^ bstrProjectFileName, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::OpenProject;
public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSProject100 ^ OpenProject(System::String ^ bstrProjectFileName, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::OpenProject;
[System.Runtime.InteropServices.DispId(67)]
public virtual 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
override this.OpenProject : string * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100
Public Overridable Function OpenProject (bstrProjectFileName As String, pEvents As IDTSEvents100) As IDTSProject100

Parameters

bstrProjectFileName
String

The project file name.

pEvents
IDTSEvents100

An IDTSEvents interface.

Returns

The opened project.

Implements

Attributes

Applies to