Microsoft Internet Security and Acceleration Server 2004 SDK |
The ExportToFile method recursively writes the all of the properties of the object and its subobjects to the specified XML file. For a collection, the method also writes all of its elements and their properties to the XML file.
HRESULT ExportToFile( BSTR XmlFileName, long OptionalData, BSTR EncryptionPassword, BSTR Comment );
This method returns S_OK if the call is successful; otherwise, it returns an error code.
For more information, see About Persistence.
The ExportToFile method recursively writes the all of the properties of the object and its subobjects to the specified XML file. For a collection, the method also writes all of its elements and their properties to the XML file.
Sub ExportToFile( _ ByVal XmlFileName As String, _ ByVal OptionalData As Long, _ [ ByVal EncryptionPassword As String ], _ [ ByVal Comment As String ] _ )
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.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration
Server 2004 Administration Library.