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.
Applies to: desktop apps only
The PrimaryStabilizationDelay property gets or sets the time (in minutes) during which the primary Configuration Storage server must be continuously available before an array member will reconnect to it.
This property is read/write.
Syntax
HRESULT put_PrimaryStabilizationDelay(
long lPrimaryStabilizationDelay
);
HRESULT get_PrimaryStabilizationDelay(
long *plPrimaryStabilizationDelay
);
' Data type: Long
Property PrimaryStabilizationDelay( _
ByVal lPrimaryStabilizationDelay As long, _
ByVal plPrimaryStabilizationDelay As long _
) As Long
Property value
A 32-bit integer that specifies the time (in minutes) during which the primary Configuration Storage server must be continuously available before an array member will reconnect to it.
Error codes
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Remarks
This property is read/write. Its default value is 10 minutes, and its range of permissible values is from 1 through 99,999.
Examples
When run on an array member, this VBScript subprocedure connects to the specified Configuration Storage server using the credentials provided and changes the value of the PrimaryStabilizationDelay property to the new value provided if necessary. This example does not include error handling.
Sub SetPrimaryStabilizationDelay(css, userName, domain, password, newValue)
' Declare the objects needed.
Dim root ' The FPCLib.FPC root object
Dim isaArray ' An FPCArray object
Dim cssCn ' An FPCConfigurationStorageServerConnection object
Dim currentValue ' An Integer
' Create the root object.
Set root = CreateObject("FPC.Root")
' Connect to the Configuration Storage server.
root.ConnectToConfigurationStorageServer css, userName, domain, password
' Get references to the array object
' and the connection object.
Set isaArray = root.GetContainingArray()
Set cssCn = isaArray.ConfigurationStorageServerConnection
' Change the value of the property if necessary.
currentValue = cssCn.PrimaryStabilizationDelay
WScript.Echo "Current primary stabilization delay: " & currentValue
If newValue <> currentValue Then
cssCn.PrimaryStabilizationDelay = newValue
WScript.Echo "Saving the new value " & newValue & " ..."
isaArray.Save
WScript.Echo "Done!"
End If
End Sub
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
IDL |
Msfpccom.idl |
DLL |
Msfpccom.dll |
See also
FPCConfigurationStorageServerConnection
Build date: 7/12/2010