Méthode 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.
Espace de noms : Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Syntaxe
'Déclaration
Public Sub LoadFromXML ( _
xmlString As String, _
events As IDTSEvents _
)
'Utilisation
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
)
Paramètres
- xmlString
Type : System.String
A string that represents the XML.
- events
Type : Microsoft.SqlServer.Dts.Runtime.IDTSEvents
An object that implements the IDTSEvents interface for raising events (errors, warnings, and so on) during persistence.