IDTSPackagePersist100.ClonePackageToXML Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Clones the package to an XML format.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Sub ClonePackageToXML ( _
<OutAttribute> ByRef pvDestination As Object, _
vbReturnDOM As Boolean, _
pEvents As IDTSEvents100 _
)
'Usage
Dim instance As IDTSPackagePersist100
Dim pvDestination As Object
Dim vbReturnDOM As Boolean
Dim pEvents As IDTSEvents100
instance.ClonePackageToXML(pvDestination, _
vbReturnDOM, pEvents)
void ClonePackageToXML(
out Object pvDestination,
bool vbReturnDOM,
IDTSEvents100 pEvents
)
void ClonePackageToXML(
[OutAttribute] Object^% pvDestination,
[InAttribute] bool vbReturnDOM,
[InAttribute] IDTSEvents100^ pEvents
)
abstract ClonePackageToXML :
pvDestination:Object byref *
vbReturnDOM:bool *
pEvents:IDTSEvents100 -> unit
function ClonePackageToXML(
pvDestination : Object,
vbReturnDOM : boolean,
pEvents : IDTSEvents100
)
Parameters
- pvDestination
Type: System.Object%
The destination of the package.
- vbReturnDOM
Type: System.Boolean
true to return DOM; 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.