共用方式為


ConnectionManager.LoadFromXML 方法 (String, IDTSEvents)

This method is not callable by your application code. To load a package that has been saved as .xml, use the Application.LoadPackage method.

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

語法

'宣告
Public Sub LoadFromXML ( _
    xmlString As String, _
    events As IDTSEvents _
)
'用途
Dim instance As ConnectionManager 
Dim xmlString As String 
Dim events As IDTSEvents

instance.LoadFromXML(xmlString, events)
public void LoadFromXML(
    string xmlString,
    IDTSEvents events
)
public:
void LoadFromXML(
    String^ xmlString, 
    IDTSEvents^ events
)
member LoadFromXML : 
        xmlString:string * 
        events:IDTSEvents -> unit
public function LoadFromXML(
    xmlString : String, 
    events : IDTSEvents
)

參數

  • xmlString
    型別:System.String
    A string that represents the XML.

請參閱

參考

ConnectionManager 類別

LoadFromXML 多載

Microsoft.SqlServer.Dts.Runtime 命名空間