Upraviť

Zdieľať cez


EntityConnectionStringBuilder.ProviderConnectionString Property

Definition

Gets or sets the inner, provider-specific connection string.

public:
 property System::String ^ ProviderConnectionString { System::String ^ get(); void set(System::String ^ value); };
public string ProviderConnectionString { get; set; }
member this.ProviderConnectionString : string with get, set
Public Property ProviderConnectionString As String

Property Value

The inner, provider-specific connection string.

Remarks

The provider-specific connection string is not checked for valid keyword/value pairs before it is set. Developers can create connection strings by using either a strongly typed connection string builder class, or they can use the DbConnectionStringBuilder class. The DbConnectionStringBuilder performs no checks for valid keyword/value pairs. Therefore, it is possible using this class to create invalid connection strings.

For valid keyword/value syntax, see ConnectionString.

Applies to

See also