Метод IDTSPackagePersist100.SavePackageToXML
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Saves the package to an XML format.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Sub SavePackageToXML ( _
<OutAttribute> ByRef pvDestination As Object, _
vbReturnDOM As Boolean, _
pEvents As IDTSEvents100 _
)
'Применение
Dim instance As IDTSPackagePersist100
Dim pvDestination As Object
Dim vbReturnDOM As Boolean
Dim pEvents As IDTSEvents100
instance.SavePackageToXML(pvDestination, _
vbReturnDOM, pEvents)
void SavePackageToXML(
out Object pvDestination,
bool vbReturnDOM,
IDTSEvents100 pEvents
)
void SavePackageToXML(
[OutAttribute] Object^% pvDestination,
[InAttribute] bool vbReturnDOM,
[InAttribute] IDTSEvents100^ pEvents
)
abstract SavePackageToXML :
pvDestination:Object byref *
vbReturnDOM:bool *
pEvents:IDTSEvents100 -> unit
function SavePackageToXML(
pvDestination : Object,
vbReturnDOM : boolean,
pEvents : IDTSEvents100
)
Параметры
- pvDestination
Тип: System.Object%
The destination of the package.
- vbReturnDOM
Тип: System.Boolean
true to return DOM; 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.