Metodo 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.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Sintassi
'Dichiarazione
Public Sub LoadFromXML ( _
xmlString As String, _
events As IDTSEvents _
)
'Utilizzo
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
)
Parametri
- xmlString
Tipo: System.String
A string that represents the XML.
- events
Tipo: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
An object that implements the IDTSEvents interface for raising events (errors, warnings, and so on) during persistence.