ApplicationClass.LoadFromDtsServer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads a package from the specified server.
public:
virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadFromDtsServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, bool bLoadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::LoadFromDtsServer;
public:
virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadFromDtsServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, bool bLoadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::LoadFromDtsServer;
[System.Runtime.InteropServices.DispId(49)]
public virtual 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
override this.LoadFromDtsServer : string * string * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
Public Overridable 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.
- bstrServerName
- String
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 IDTSEvents interface.
Returns
The package that was loaded.
Implements
- Attributes