IDTSPackagePersist100.LoadPackageFromXML Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Loads the package from an XML format.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Sub LoadPackageFromXML ( _
vSource As Object, _
vbSourceIsLocation As Boolean, _
pEvents As IDTSEvents100 _
)
'Usage
Dim instance As IDTSPackagePersist100
Dim vSource As Object
Dim vbSourceIsLocation As Boolean
Dim pEvents As IDTSEvents100
instance.LoadPackageFromXML(vSource, _
vbSourceIsLocation, pEvents)
void LoadPackageFromXML(
Object vSource,
bool vbSourceIsLocation,
IDTSEvents100 pEvents
)
void LoadPackageFromXML(
[InAttribute] Object^ vSource,
[InAttribute] bool vbSourceIsLocation,
[InAttribute] IDTSEvents100^ pEvents
)
abstract LoadPackageFromXML :
vSource:Object *
vbSourceIsLocation:bool *
pEvents:IDTSEvents100 -> unit
function LoadPackageFromXML(
vSource : Object,
vbSourceIsLocation : boolean,
pEvents : IDTSEvents100
)
Parameters
- vSource
Type: System.Object
The source of the package.
- vbSourceIsLocation
Type: System.Boolean
true to indicate that the source is a location; otherwise, false.
- pEvents
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An object that implements the IDTSEvents100 interface for firing events (errors, warnings, and so on) during persistence.