다음을 통해 공유


ExportXML 메서드

Exports data to an .xml file.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
어셈블리:  Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS

구문

‘선언
Public Sub ExportXML ( _
    bstrFileName As String _
)
‘사용 방법
Dim instance As ForEachItemEnumerator
Dim bstrFileName As String

instance.ExportXML(bstrFileName)
public void ExportXML(
    string bstrFileName
)
public:
void ExportXML(
    String^ bstrFileName
)
member ExportXML : 
        bstrFileName:string -> unit 
public function ExportXML(
    bstrFileName : String
)

매개 변수

주의

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.