Метод IDTSPackagePersist100.LoadPackageFromXML
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Loads the package from an XML format.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Sub LoadPackageFromXML ( _
vSource As Object, _
vbSourceIsLocation As Boolean, _
pEvents As IDTSEvents100 _
)
'Применение
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
)
Параметры
- vSource
Тип: System.Object
The source of the package.
- vbSourceIsLocation
Тип: System.Boolean
true to indicate that the source is a location; otherwise, false.
- pEvents
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An object that implements the IDTSEvents100 interface for firing events (errors, warnings, and so on) during persistence.