The RefreshRate property gets or sets the time, in seconds, that the connectivity verifiers wait before rechecking connectivity.
HRESULT put_RefreshRate( long lRefreshRate ); HRESULT get_RefreshRate( long* plRefreshRate );
Pointer to a 32-bit integer that is set on return to a long value specifying the time, in seconds, that the connectivity verifiers wait before rechecking connectivity.
A 32-bit integer that specifies the time, in seconds, that the connectivity verifiers wait before rechecking connectivity.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property RefreshRate As Long
A 32-bit integer value that specifies the time, in seconds, that the connectivity verifiers wait before rechecking connectivity.
Sub SetConnectivityRefreshRate(newValue)
'Declare the objects needed.
Dim root ' The FPCLib.FPC root object
Dim isaArray ' An FPCArray object
Dim verifiers ' An FPCConnectivityVerifiers collection
' Create the root object.
Set root = CreateObject("FPC.Root")
' Get references to the array object
' and the connectivity verifiers collection.
Set isaArray = root.GetContainingArray()
Set verifiers = isaArray.ConnectivityVerifiers
' Change the value of the property if necessary.
WScript.Echo "Current refresh time: " & verifiers.RefreshRate
If newValue <> verifiers.RefreshRate Then
WScript.Echo "Setting the refresh time to " & newValue & "..."
verifiers.RefreshRate = newValue
verifiers.Save
WScript.Echo "Done!"
End If
End Sub
This property is read/write. It is initially set to 30, and its range of permissible values is from 15 through 1,440.
This property cannot be accessed through Forefront TMG Management.
| 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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.