Метод ApplicationClass.SaveToXML
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Saves the XML definition of a package to a file
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Public Overridable Sub SaveToXML ( _
FileName As String, _
pPersistObj As IDTSPersist100, _
pEvents As IDTSEvents100 _
)
'Применение
Dim instance As ApplicationClass
Dim FileName As String
Dim pPersistObj As IDTSPersist100
Dim pEvents As IDTSEvents100
instance.SaveToXML(FileName, pPersistObj, _
pEvents)
public virtual void SaveToXML(
string FileName,
IDTSPersist100 pPersistObj,
IDTSEvents100 pEvents
)
public:
virtual void SaveToXML(
[InAttribute] String^ FileName,
[InAttribute] IDTSPersist100^ pPersistObj,
[InAttribute] IDTSEvents100^ pEvents
)
abstract SaveToXML :
FileName:string *
pPersistObj:IDTSPersist100 *
pEvents:IDTSEvents100 -> unit
override SaveToXML :
FileName:string *
pPersistObj:IDTSPersist100 *
pEvents:IDTSEvents100 -> unit
public function SaveToXML(
FileName : String,
pPersistObj : IDTSPersist100,
pEvents : IDTSEvents100
)
Параметры
- FileName
Тип: System.String
The name of the file to save.
- pPersistObj
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100
The package object to save.
- pEvents
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents object.
Реализует
IDTSApplication100.SaveToXML(String, IDTSPersist100, IDTSEvents100)