Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EntityConnection::DataSource Property

Entity Framework 6.0
 

Gets the name or network address of the data source to connect to.

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

public:
[SuppressMessageAttribute("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
property String^ DataSource {
	virtual String^ get() override;
}

Property Value

Type: System::String^

The name of the data source. The default value is an empty string.

Return to top
Show: