DesignerDataConnection::Name Property

 

Gets the name of the data connection.

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

public:
property String^ Name {
	String^ get();
}

Property Value

Type: System::String^

The name of the data connection.

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.

.NET Framework
Available since 2.0
Return to top
Show: