Add(Microsoft.SharePoint.Portal.Topology.PortalUrl) Method

The Add method of the PortalUrlCollection class adds the specified PortalUrl object to the collection.


portalUrl The Microsoft.SharePoint.Portal.Topology.PortalUrl to add.

Return Value

The Microsoft.SharePoint.Portal.Topology.PortalUrl added to the collection.


The Add method calls the proc_putPortalUrl stored procedure to add the PortalUrl instance to the PortalUrls table, by populating the columns of a new record with the properties of the portalUrl argument.

See the PortalUrl Class for additional information about the PortalUrl object.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security