FPCPersist Object
The FPCPersist object provides access to the methods and properties associated with objects whose data can be written to persistent storage. Objects whose data can be written to persistent storage inherit from the FPCPersist object.
Click here to see the Forefront TMG object hierarchy.
Methods
The FPCPersist object defines the following methods.
Method | Description |
---|---|
Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only). |
|
Returns a Boolean value that indicates whether the object's properties can be imported from the specified XML document. |
|
Recursively writes the stored values of all 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. |
|
Recursively writes the stored values of all 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. |
|
Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect. |
|
Recursively copies the values of all the properties of the object and of its subobjects from the specified XML document to persistent storage. For a collection, the method also imports all of its elements and their properties from the XML document. |
|
Recursively copies the values of all the properties of the object and of its subobjects from the specified XML file to persistent storage. For a collection, the method also imports all of its elements and their properties from the XML file. |
|
Retrieves the OptionalData and Comment properties that are stored in a specified XML document. |
|
Recursively reads the values of all the properties of the object and of its subobjects from persistent storage, overwriting any changes that have not been saved. For a collection, the method also reads all of its elements and their properties from persistent storage. |
|
Recursively writes all of the properties of the object and its subobjects to persistent storage. For a collection, the method also writes all of its elements and their properties to persistent storage. |
|
Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only). After the notification, you must call the Refresh method to see the changes. |
Properties
The FPCPersist object defines the following properties.
Property | Description |
---|---|
Gets the persistent name of the object. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy. |
|
Gets an FPCVendorParametersSets collection that can hold custom data for extending the object. |
Interfaces for C++ Programming
This object implements the IFPCPersist interface.
Remarks
To export to and import from an XML document in Visual Basic, you must add a project reference to Microsoft XML 3.0 in addition to the reference to the Microsoft Forefront Threat Management Gateway Administration Library.
In the event of an XML DOM parsing error, the information will be stored in an XMLDOMParseError object. For more information see XMLDOMParseError in the XML reference of MSDN.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010