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

The Add method of the TeamWebServiceCollection class adds the specified TeamWebService object to the collection.


teamWebService The Microsoft.SharePoint.Portal.Topology.TeamWebService to add.

Return Value

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


The Add method calls the proc_putService stored procedure to add the TeamWebService instance to the Services table in the configuration database, by populating the columns of a new row in the table with the properties of the teamWebService argument.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security