ServerView.RemoveServer Method

The ServerView.RemoveServer method disconnects a server and removes its node from the tree.

Syntax

ServerView.RemoveServer( selection )

Parameters

selection

A Long value specifying the server to remove.

Remarks

To obtain the value of a particular selection, use the CurrentSelection property, or the OnSelectionChanged event. To invoke this method on the current selection, specify –1 or NST_CURRENT_SELECTION.

The selection parameter can be either a Long value or a String value of the server name.

© 1996-1998 Microsoft Corporation. All rights reserved.