EntityConnection::ChangeDatabase Method (String^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Not supported.

Namespace:   System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public:
virtual void ChangeDatabase(
	String^ databaseName
) override

Parameters

databaseName
Type: System::String^

Not supported.

Exception Condition
NotSupportedException

When the method is called.

The ChangeDatabase method is required when deriving from DbConnection. This method is not supported and will raise a NotSupportedException.

.NET Framework
Available since 3.5
Return to top
Show: