ConnectionStringSettings.Name ConnectionStringSettings.Name ConnectionStringSettings.Name ConnectionStringSettings.Name Property

Definition

Gets or sets the ConnectionStringSettings name.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("name", DefaultValue=Mono.Cecil.CustomAttributeArgument, Options=System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)]
[System.Configuration.ConfigurationProperty("name", DefaultValue=Mono.Cecil.CustomAttributeArgument, Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

The string value assigned to the Name property.

Examples

The following example shows how to use the Name property.

Console.WriteLine("  Name: {0}", cs.Name);
Console.WriteLine("  Name: {0}", cs.Name)

Applies to

See also