ApplicationClass.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::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

参数

bstrPackagePath
String

包的完全限定路径。

bstrServerName
String

存储包的服务器。

bLoadNeutral
Boolean

若要将包加载为中性线程,则为 true。 如果加载包作为单元线程,则为 false。

pEvents
IDTSEvents100

IDTSEvents 接口。

返回

所加载的包。

实现

属性

适用于