ConnectionStringSettings::Name Property

 

Gets or sets the ConnectionStringSettings name.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
[ConfigurationPropertyAttribute("name", Options = ConfigurationPropertyOptions::None | ConfigurationPropertyOptions::IsRequired | ConfigurationPropertyOptions::IsKey, 
	DefaultValue = "")]
property String^ Name {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The string value assigned to the Name property.

The following example shows how to use the Name property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: