The ExportToFile method recursively writes all the properties of the collection and its elements, including all the properties of any subobjects and their elements (for collections), to the specified XML file.
HRESULT ExportToFile( [in] BSTR XmlFileName, [in] long OptionalData, [in, optional] BSTR EncryptionPassword, [in, optional] BSTR Comment );
A 32-bit integer value that specifies what optional data to include in the export. This value is a bitwise combination of values from the FpcExportImportOptionalData enumerated type.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Sub ExportToFile( _ ByVal XmlFileName As String, _ ByVal OptionalData As Long, _ [ ByVal EncryptionPassword As String ], _ [ ByVal Comment As String ] _ )
A 32-bit integer value that specifies what optional data to include in the export. This value is a bitwise combination of values from the FpcExportImportOptionalData enumerated type.
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
For more information, see About Persistence.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.