The Add method creates a new FPCIpListRange object in the collection and returns a reference to it.
HRESULT Add( [in] BSTR FromIP, [in] BSTR ToIP, [in] DATE ExpirationDate, [out] IFPCIpListRange** ppNewItem );
BSTR that specifies the lowest IP address in the IP address range.
BSTR that specifies the highest IP address in the IP address range.
DATE value that specifies the expiration date and time of the IP list range in Coordinated Universal Time (UTC).
Address of an interface pointer that on return points to the new IFPCIpListRange interface created.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Function Add( _ ByVal FromIP As String, _ ByVal ToIP As String, _ ByVal ExpirationDate As DATE, _ ByRef pNewItem As FPCIpListRange _ ) As FPCIpListRange
String that represents the lowest IP address of the IP address range.
String that represents the highest IP address of the IP address range.
DATE value that specifies the expiration date and time of the IP list range in Coordinated Universal Time (UTC).
Reference that on return points to the new IFPCIpListRange object.
If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
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.