Share via


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

The Add method of the DatabaseServiceCollection class adds the specified DatabaseService object to the collection.

Parameters

databaseService   The Microsoft.SharePoint.Portal.Topology.DatabaseService to add.

Return Value

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

Remarks

The Add method calls the proc_putService stored procedure to add the DatabaseService 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 databaseService argument.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security