EntityConnectionStringBuilder.ProviderConnectionString 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得或設定內部的提供者特定連接字串。
命名空間: System.Data.Entity.Core.EntityClient
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<DisplayNameAttribute("Provider Connection String")> _
<RefreshPropertiesAttribute(RefreshProperties.All)> _
Public Property ProviderConnectionString As String
Get
Set
'用途
Dim instance As EntityConnectionStringBuilder
Dim value As String
value = instance.ProviderConnectionString
instance.ProviderConnectionString = value
[DisplayNameAttribute("Provider Connection String")]
[RefreshPropertiesAttribute(RefreshProperties.All)]
public string ProviderConnectionString { get; set; }
[DisplayNameAttribute(L"Provider Connection String")]
[RefreshPropertiesAttribute(RefreshProperties::All)]
public:
property String^ ProviderConnectionString {
String^ get ();
void set (String^ value);
}
[<DisplayNameAttribute("Provider Connection String")>]
[<RefreshPropertiesAttribute(RefreshProperties.All)>]
member ProviderConnectionString : string with get, set
function get ProviderConnectionString () : String
function set ProviderConnectionString (value : String)
屬性值
類型:System.String
內部的提供者特定連接字串。