共用方式為


DatabaseConnectionControl.AddConnectionWithFamily 方法 (String, String, Boolean)

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

語法

'宣告
Public Sub AddConnectionWithFamily ( _
    connectionString As String, _
    dspFamily As String, _
    selectConnection As Boolean _
)
public void AddConnectionWithFamily(
    string connectionString,
    string dspFamily,
    bool selectConnection
)
public:
void AddConnectionWithFamily(
    String^ connectionString, 
    String^ dspFamily, 
    bool selectConnection
)
member AddConnectionWithFamily : 
        connectionString:string * 
        dspFamily:string * 
        selectConnection:bool -> unit 
public function AddConnectionWithFamily(
    connectionString : String, 
    dspFamily : String, 
    selectConnection : boolean
)

參數

.NET Framework 安全性

請參閱

參考

DatabaseConnectionControl 類別

AddConnectionWithFamily 多載

Microsoft.VisualStudio.Data.Schema.Package.UI 命名空間