DesignerDataConnection.Name Property

Definition

Gets the name of the data connection.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

The name of the data connection.

Remarks

The Name property contains the name that identifies a specific connection in an application configuration file or a list of data connections. When the IsConfigured property is true, Name property is used as the name attribute in the connectionStrings Element (ASP.NET Settings Schema) configuration element, or is returned from the ConfigureConnection method.

Applies to