DesignerDataConnection::IsConfigured Property

 

Gets a value indicating whether the connection information is in the application's configuration file.

Namespace:   System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

public:
property bool IsConfigured {
	bool get();
}

Property Value

Type: System::Boolean

true if the connection is defined in the application's configuration file; otherwise, false.

The IsConfigured property will be true if the DesignerDataConnection object was read from the application's configuration file, or if the DesignerDataConnection object was written to the application's configuration file by the IDataEnvironment::ConfigureConnection method.

When the IsConfigured is true, the Name property is set to the name of the connection as defined in the connectionStrings Element (ASP.NET Settings Schema) of the configuration file.

.NET Framework
Available since 2.0
Return to top
Show: