DefaultDatabaseChanged Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Called when the default database is changed. The assembly that contains this class has a friend relationship with SQLAccess.dll.  It is intended for use by SQL Server.  For other databases, use the hosting mechanism provided by that database.

Namespace: Microsoft.SqlServer.Server

Assembly: System.Data (in System.Data.dll)

MustOverride Sub DefaultDatabaseChanged(ByVal databaseName As String)
internal abstract void DefaultDatabaseChanged (string databaseName);

Parameters

Parameter

Description

databaseName

The name of the database that the server has changed to.

Version Information

.NET Framework

Supported in: 2.0