Microsoft Internet Security and Acceleration Server 2000

FPCProtocolDefinitions.AddTCP Method

Creates a new TCP protocol definition object and returns a reference to it.

VBScript Syntax[VBScript]

[ oFPCProtocolDefinition = ] FPCProtocolDefinitions.AddTCP( sName, InitialConnectionDirection, lInitialConnectionPort )

C++ Syntax[C++]

HRESULT AddTCP(
  BSTR sName,
  FpcConnectionDirectionType InitialConnectionDirection,
  long lInitialConnectionPort,
  IFPCProtocolDefinition **poFPCProtocolDefinition
);

Parameters

sName
Required. String that specifies the name of the new protocol object.
InitialConnectionDirection
The direction of the initial connection associated with the protocol. Can have a value from the FpcConnectionDirectionType enumerated type.
lInitialConnectionPort
Long value specifying the port for the initial connection associated with the protocol. Can be any value between 1 and 65535.

Return Value

oFPCProtocolDefinition
Returns a reference to an FPCProtocolDefinition object.

Applies To

FPCProtocolDefinitions