EntityConnectionStringBuilder.Provider 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 連接字串 中取得或設定底層 .NET Framework 資料提供者的名稱。
public:
property System::String ^ Provider { System::String ^ get(); void set(System::String ^ value); };
public string Provider { get; set; }
member this.Provider : string with get, set
Public Property Provider As String
屬性值
底層 .NET Framework 資料提供者的不變名稱。
備註
不變的提供者名稱用於取得 DbProviderFactory 底層提供者的物件。
關於有效的關鍵字/值語法,請參見 ConnectionString。