ConfigurationDatabase Class

The ConfigurationDatabase class represents the configuration database in the topology of a server farm. This class cannot be inherited.

System.Object

**Microsoft.SharePoint.Portal.Topology.ConfigurationDatabase**

Public Methods

The following table shows the public methods of the ConfigurationDatabase class and a brief description of each.

Name Description
Install Installs a new configuration database. Reserved for internal use only. Use the Create method of the TopologyManager class.

Public Properties

The following table shows the properties of the ConfigurationDatabase class, the data type of each property, and a brief description of each.

Name Data type Description
DatabaseVersion Int64 Gets the last-used rowversion value in the configuration database for version comparison purposes.
Exists Boolean Gets a value that indicates whether the configuration database already exists.
PortalSchemaVersion System.Version Gets the portal version of the schema of the configuration database.
SchemaVersion System.Version Gets the schema version of the configuration database.
SqlConnectionString Microsoft.SharePoint.Portal.Data.SqlConnectionString Gets the connection string for the configuration database.
Status Microsoft.SharePoint.Portal.Topology.ConfigurationDatabaseStatus Gets the status of the configuration database.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

The Create method of the TopologyManager class creates a configuration database in the topology of a server farm. The Join method of the TopologyManager class registers the local server in the configuration database and makes it the default configuration database for the local server.

To use the properties and methods of the objects in the Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database.

In addition, for certain methods, such as those that create a portal site, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database.

Requirements

Namespace: Microsoft.SharePoint.Portal.Topology

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security