Add Method (DiscussionServers Collection Object)

         Example         Applies To

Adds a new DiscussionServer object to the DiscussionServers collection.

Syntax

expression.Add(FriendlyName, ServerAddress)

expression   An expression that returns a DiscussionServers object.

FriendlyName   Required String The friendly name of the specified discussion server.

ServerAddress   Required String. The Uniform Resource Locator (URL) of the specified discussion server.

Remarks

The URL specified in the ServerAddress argument must contain a trailing slash character, as in the following example, which uses the URL http://samples.microsoft.com.

dscServers.Add "Samples Folder", _
    http://samples.microsoft.com/