Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCNetworkRules::MoveUp[C++]

FPCNetworkRules.MoveUp [Visual Basic]

[C++]

The MoveUp method moves the specified rule one step up the list of network rules, which corresponds to their order of application.

HRESULT MoveUp(
  long index
);

Parameters

index
[in] Required. Index (the current position indicated by the Order property) of the rule to move up.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

The MoveDown method moves a rule one step down the list of network rules.

[Visual Basic]

The MoveUp method moves the specified rule one step up the list of network rules, which corresponds to their order of application.

Sub MoveUp( _
  ByVal index As Long _
)

Parameters

index
[in] Required. Index (the current position indicated by the Order property) of the rule to move up.

Return Values

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

The MoveDown method moves a rule one step down the list of network rules.

Requirements

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.

See Also

FPCNetworkRules