FPCFirewallSessions.Item
Method
Retrieves the given FPCFirewallSession object from the
collection.
VBScript Syntax[VBScript]
[ vItem = ] FPCFirewallSessions.Item( vUserOrIndex, vClientComputer )
C++ Syntax[C++]
HRESULT Item(
VARIANT vUserOrIndex,
VARIANT vClientComputer,
IFPCFirewallSession **pvItem
);
Parameters
- vUserOrIndex
- Required. Variant that specifies the user name or one-based
index of the object to retrieve.
- vClientComputer
- Optional. Variant that specifies the client computer.
Return Value
- vItem
- If successful, returns a reference to an object of type
FPCFirewallSession; otherwise:
- In C++, returns an error code and a null object.
- In scripting languages and in Visual Basic, an error is raised
and can be intercepted by using an error handler.
Applies To
FPCFirewallSessions