Save Method of the IFPCPersist Interface

The Save method 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. It is important to remember that any changes made by scripts and programs are not saved until after the Save method is called.

[C++]

Syntax

HRESULT Save(
  [in, optional]  VARIANT_BOOL fResetRequiredServices,
  [in, optional]  VARIANT_BOOL fReloadConfiguration
);

Parameters

fResetRequiredServices
Boolean value that indicates whether to restart the services that need to be restarted for any of the changes saved to take effect. The default value is VARIANT_FALSE.
fReloadConfiguration
This parameter is provided for compatibility with ISA Server. The default value is VARIANT_TRUE. In Forefront TMG, this parameter is ignored.

Return Value

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

[Visual Basic]

Syntax

Sub Save( _
  [ ByVal fResetRequiredServices As Boolean ], _
  [ ByVal fReloadConfiguration As Boolean ] _
)

Parameters

fResetRequiredServices
Boolean value that indicates whether to restart the services that need to be restarted for any of the changes saved to take effect. The default value is False.
fReloadConfiguration
This parameter is provided for compatibility with ISA Server. The default value is True. In Forefront TMG, this parameter is ignored.

Return Value

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

Configuration changes are applied only when the new values are reloaded to the services that use them. Most changes can be applied dynamically without restarting any services. However, changes to the properties in the following table and configuration changes caused by calls to the methods in this table can take effect only after the Microsoft Firewall service is restarted:

Object Properties or methods
FPCApplicationFilter Enabled
FPCAttackDetection IPRoutingEnabled
FPCCacheConfiguration MemoryUsagePercentage
FPCCacheDrive CacheLimitInMegs
FPCLowLevelSettings All properties
FPCNLBConfiguration NLBIntegrationEnabled
FPCTunnelPortRange TunnelLowPort and TunnelHighPort
FPCTunnelPortRanges AddRange and Remove
FPCWebProxy All properties

Forefront TMG maintains a bitmask that specifies which services need to be started for any of the currently unsaved changes to take effect. The bitmask for the current object and its subobject can be retrieved by calling the GetServiceRestartMask method. Calling the Save method clears all of the bits in this bitmask even if the fResetRequiredServices parameter is set to False (VARIANT_FALSE in C++).

For more information, see Restarting Services After Configuration Changes.

Requirements

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.

See Also

FPCPersist


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.


Объявления:
    • Stomatologiya-mitischi.ru

      Лечение любой сложности. stomatologiya-mitischi.ru. В стоматологии в Мытищи лучшие специалисты!

      stomatologiya-mitischi.ru

    Объявления

  1. Add Block от Adguard
    Программа для блокировки рекламы и всплывающих окон во всех браузерах.
    adguard.com

     
  2. Дисплей Color
    В продаже - Дисплей Color, цены ниже! Неликвидные остатки.
    www.nelikvidi.com

     
  3. Ms3459kt28 11px circular mil spec
    Купить! Ms3459kt28 11px circular mil spec 22p strt pin plu. Строительство и
    aliexpress.com

     
  4. Госпиталь стоматологии
    Госпиталь стоматологии! Консультации Сопровождение Лечение Отдых
    hospital1946.ru

     
  5. Принтер, который печатает блины
    Поступил в продажу принтер, печатающий блины. Подробнее на fnuz.ru
    fnuz.ru

     
  6. Акустическая музыка
    Слушайте онлайн радио бесплатно. Музыка гитары, рок-н-ролл, и прочее.
    top-radio.net

     
  7. Успешная консультация у психолога
    Хотите реальной надёжной и недорогой помощи? Вам – сюда.
    yasnoclub.ru

     
  8. Интересуют Автомобили с Пробегом?
    Высококачественные автомобили с пробегом на одном сайте. Смотрите!
    giplex.com.ua