다음을 통해 공유


IDTSApplication100.LoadFromDtsServer Method

Definition

Loads a package from the specified server, and specifies the threading model.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadFromDtsServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, bool bLoadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents);
[System.Runtime.InteropServices.DispId(49)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 LoadFromDtsServer (string bstrPackagePath, string bstrServerName, bool bLoadNeutral, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(49)>]
abstract member LoadFromDtsServer : string * string * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
Public Function LoadFromDtsServer (bstrPackagePath As String, bstrServerName As String, bLoadNeutral As Boolean, pEvents As IDTSEvents100) As IDTSPackage100

Parameters

bstrPackagePath
String

The fully qualified path of the package to load.

bstrServerName
String

The name of the server where the package is stored.

bLoadNeutral
Boolean

true to load the package as neutral threaded; false to load the package as apartment threaded.

pEvents
IDTSEvents100

An IDTSEvents100 interface.

Returns

A IDTSPackage100 object that represents the loaded project.

Attributes

Applies to