OnEdit Event (Server object)

                

 

Occurs after any of the Server’s editable properties has been modified. It returns the old and new value of the property.

Syntax

object.InputString

Private Sub object_OnEdit(OldProperties As NamedValues, NewProperties As NamedValues)

The OnEdit event syntax has these parts:

Part

Description

object

 An object expression that evaluates to a ServerEvents object.

OldProperties

A NamedValues object which contains the names and previous values of the edited properties.

NewProperties

A NamedValues object which contains the names and current values of the edited properties.

Remarks

In the current release, the OldProperties and NewProperties collections each contain only one item, because the Server object does not provide any methods that would edit several properties at once.

Properties that are editable in the current release are ConnectTimeout, DefaultUser, Path, Port, and Timeout.

If the RemoveDefaultUser method is called, the value in NewProperties will be an empty Variant.

Enabling Operational Intelligence