Microsoft Internet Security and Acceleration Server 2004 SDK |
The Add method creates a new FPCRef object in the collection and returns a reference to it.
HRESULT Add( BSTR Name, FpcIncludeStatus IncludeStatus, IFPCRef** ppNewRef );
This method can return one of the following:
The IncludeStatus parameter must be set even when the collection is accessed through a property for which this parameter is meaningless, such as the SpecifiedProtocols property of the FPCAccessProperties object. Here the inclusion of the specified protocols in the rule, or their exclusion from the rule, is indicated by the ProtocolSelectionMethod property.
The Add method creates a new FPCRef object in the collection and returns a reference to it.
Function Add( _ ByVal Name As String, _ ByVal IncludeStatus As FpcIncludeStatus _ ) As FPCRef
This method returns a reference to the FPCRef object added if the call is successful. Otherwise, an error is raised that can be intercepted by using an error handler.
The IncludeStatus parameter must be set even when the collection is accessed through a property for which this parameter is meaningless, such as the SpecifiedProtocols property of the FPCAccessProperties object. Here the inclusion of the specified protocols in the rule, or their exclusion from the rule, is indicated by the ProtocolSelectionMethod property.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration
Server 2004 Administration Library.