IDatabaseConfiguration

Use this interface to configure the database connection that the WSUS server uses.

To retrieve this interface, call IUpdateServer.GetDatabaseConfiguration.

The IDatabaseConfiguration interface is derived from the System.Object class.

Public Methods

The IDatabaseConfiguration interface has the following public methods.

Method Description
ConnectToDatabase()

Tests the connectivity to the database.

Equals(Object)

Determines if the specified Object is equal to the current Object.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

GetType()

Retrieves the Type of the current instance.

ToString()

Retrieves a String that represents the current Object.

Public Properties

The IDatabaseConfiguration interface has the following public properties.

Property Description
DatabaseName

Retrieves the name of the database that WSUS is using.

IsUsingWsusWmsdeInstall

Determines if the WSUS server is using the local instance of the SQL Server 2000 Desktop Engine (Windows), known as WMSDE, that was installed during setup.

IsWsusWmsdeInstalled

Determines if a local WMSDE instance was installed during setup.

ServerName

Retrieves the name of the database server that WSUS is using.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.