DesignerDataConnection.IsConfigured Property

Definition

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

public:
 property bool IsConfigured { bool get(); };
public bool IsConfigured { get; }
member this.IsConfigured : bool
Public ReadOnly Property IsConfigured As Boolean

Property Value

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

Remarks

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.

Applies to