共用方式為


PackageClass.LoadFromXML 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Loads a package and all its objects that have been saved to memory in XML format.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Sub LoadFromXML ( _
    pNode As Object, _
    pEvents As IDTSEvents100 _
)
'用途
Dim instance As PackageClass 
Dim pNode As Object 
Dim pEvents As IDTSEvents100

instance.LoadFromXML(pNode, pEvents)
public virtual void LoadFromXML(
    Object pNode,
    IDTSEvents100 pEvents
)
public:
virtual void LoadFromXML(
    [InAttribute] Object^ pNode, 
    [InAttribute] IDTSEvents100^ pEvents
)
abstract LoadFromXML : 
        pNode:Object * 
        pEvents:IDTSEvents100 -> unit  
override LoadFromXML : 
        pNode:Object * 
        pEvents:IDTSEvents100 -> unit
public function LoadFromXML(
    pNode : Object, 
    pEvents : IDTSEvents100
)

參數

  • pNode
    型別:System.Object
    The node that contains the connection manager information to be loaded.

實作

IDTSPersist100.LoadFromXML(Object, IDTSEvents100)

備註

For more information, see Package.

請參閱

參考

PackageClass 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間