Sets or returns a Variant value specifying the selected server.
Syntax
ServerView.CurrentSelection( [ Selection ] )
Parameter
Selection
A String value specifying the name of the server to be selected.
Remarks
The CurrentSelection property can be used in the following ways:
Dim Index As Long
Index = ServerView.CurrentSelection()
Retrieving the index does not require that a parameter be passed. The property returns a Long value specifying the index of the selected server.
Dim Selection As String
Selection = "MyServer"
ServerView.CurrentSelection(Selection)
Retrieving the current server selection requires the Selection parameter be passed. In this case, the parameter is a String value specifying the name of the selected server.