Método 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.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)
Sintaxe
'Declaração
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.