Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCPersist::Export[C++]

FPCPersist.Export [Visual Basic]

[C++]

The Export method recursively writes all of the properties of the object and its subobjects to the specified XML document. For a collection, the method also writes all of its elements and their properties to the XML document.

HRESULT Export(
  IUnknown* pDocument,
  long OptionalData,
  BSTR EncryptionPassword,
  BSTR Comment
);

Parameters

pDocument
[in] Pointer to the IUnknown interface on the DOMDocument object to which the information will be saved.
OptionalData
[in] 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.
EncryptionPassword
[in, optional] BSTR that specifies a password for encrypting the exported information. This parameter is an empty string by default.
Comment
[in, optional] BSTR that specifies a comment for the exported information. This parameter contains an empty string by default.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

Any version of the XML DOM document object from Microsoft XML 2.0 and later can be used.

For more information, see About Persistence.

[Visual Basic]

The Export method recursively writes all of the properties of the object and its subobjects to the specified XML document. For a collection, the method also writes all of its elements and their properties to the XML document.

Sub Export( _
  ByRef pDocument As IUnknown, _
  ByVal OptionalData As Long, _
  [ ByVal EncryptionPassword As String ], _
  [ ByVal Comment As String ] _
)

Parameters

pDocument
[in] Reference to the DOMDocument30 object to which the information will be saved.
OptionalData
[in] 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.
EncryptionPassword
[in, optional] String that specifies a password for encrypting the exported information. This parameter is an empty string by default.
Comment
[in, optional] String that specifies a comment for the exported information. This parameter is an empty string by default.

Return Values

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

Any version of the XML DOM document object from Microsoft XML 2.0 and later can be used.

For more information, see About Persistence.

Requirements

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.

See Also

FPCPersist