共用方式為


SchemaDeploymentOptions.TargetConnectionString 屬性

取得或設定目標資料庫的連接字串。

命名空間:  Microsoft.Data.Schema.Build
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Property TargetConnectionString As String
    Get
    Set
public string TargetConnectionString { get; set; }
public:
property String^ TargetConnectionString {
    String^ get ();
    void set (String^ value);
}
member TargetConnectionString : string with get, set
function get TargetConnectionString () : String
function set TargetConnectionString (value : String)

屬性值

型別:System.String
目標資料庫連接字串。

.NET Framework 安全性

請參閱

參考

SchemaDeploymentOptions 類別

Microsoft.Data.Schema.Build 命名空間