Partager via


DataSourceElement.ConnectionString Property

Definition

Gets or sets the ConnectionStringSettings element in <connectionStrings> section in the .config file.

public:
 property System::String ^ ConnectionString { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("connectionString", IsRequired=true)]
public string ConnectionString { get; set; }
[<System.Configuration.ConfigurationProperty("connectionString", IsRequired=true)>]
member this.ConnectionString : string with get, set
Public Property ConnectionString As String

Property Value

Attributes

Applies to