Share via


DatabaseService(Microsoft.SharePoint.Portal.Topology.Server, String) Constructor

The DatabaseService constructor initializes a new instance of the DatabaseService class based on the specified database server and Microsoft SQL Server instance.

Parameters

server    The Server object associated with the DatabaseService object.

instance    The name of the SQL Server instance.

Remarks

This constructor initializes a new SQL Server instance on the specified server. Microsoft SQL Server 2000 and later supports multiple instances of database services on a single server computer through the use of named instances, called SQL Server instances.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security