Share via


IDatabaseConfiguration.ConnectToDatabase()

Tests the connectivity to the database.

public abstract void ConnectToDatabase();
Public MustOverride Sub ConnectToDatabase()
Implements IDatabaseConfiguration.ConnectToDatabase

Parameters

This method has no parameters.

Return Values

This method has no return values.

Exceptions

Exception type Condition
System.Data.SqlClient.SqlException Error connecting to the database.

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.