ConnectionManager.LoadFromXML Método (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.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Sintaxis
'Declaración
Public Sub LoadFromXML ( _
xmlString As String, _
events As IDTSEvents _
)
'Uso
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
)
Parámetros
- 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.