SetAsDefault Method

         Example         Applies To

Sets the specified discussion server as the default server for the discussions user interface and for all subsequent calls to the global method OpenDiscussions.

Syntax

expression.SetAsDefault

expression   An expression that returns a DiscussionServer object.

Remarks

The default discussion server is always the first DiscussionServer object in the DiscussionServers collection. Using the SetAsDefault method reorders the members of the DiscussionServers collection so that the default server is in the position referred to by Item(1). Therefore, after calling this method, you should discard any variables that have been set to old DiscussionServer objects.