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.


server The Server object associated with the DatabaseService object.

instance The name of the SQL Server instance.


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.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security