Add Method (Webs Collection)

See Also                 

Adds a new web to the list of available items in the Webs collection.

Syntax

expression.Add(WebUrl As String, [UserName], [Password])

expression   An expression that returns a Webs collection object.

WebUrl   Required String. A string that contains the path for the Web server where the web will be stored. This can be any absolute URL for a web, such as http://web server or file://file system for disk-based webs.

UserName   Optional String. The user's logon name for the Web server.

Password   Optional String. The user's password for the Web server.