Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Save method writes the current values of all the properties of the collection and its elements 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 True.fReloadConfiguration
This parameter is provided for compatibility with ISA Server. The default value is True. In Forefront TMG, this parameter is ignored.
Return Value
If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
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. |
| DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010