共用方式為


ForEachItemEnumerator.ExportXML Method

Exports data to an .xml file.

命名空間: Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

語法

'宣告
Public Sub ExportXML ( _
    bstrFileName As String _
)
public void ExportXML (
    string bstrFileName
)
public:
void ExportXML (
    String^ bstrFileName
)
public void ExportXML (
    String bstrFileName
)
public function ExportXML (
    bstrFileName : String
)

參數

  • bstrFileName
    The name of the .xml file to which to export and save the data.

備註

Shown below is the format of the For Each Item Enumerator .xml file.

<FEIEItems>

<FEIEItem>

<FEIEItemValue Type="3" Value="11"/>

<FEIEItemValue Type="3" Value="12"/>

</FEIEItem>

<FEIEItem>

<FEIEItemValue Type="3" Value="21"/>

<FEIEItemValue Type="3" Value="22"/>

</FEIEItem>

</FEIEItems>

The Type attribute of the FEIEItemValue element specifies the type of the Value attribute for this element. The Value attribute specifies the actual value of the ItemValue.

The value used for the Type attribute is a value from the VarEnum enumeration. For more information, see "VarEnum Enumeration" in the Microsoft .NET Framework Class Library.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ForEachItemEnumerator Class
ForEachItemEnumerator Members
Microsoft.SqlServer.Dts.Runtime.Enumerators.Item Namespace