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
)
參數
- connectionString
型別:System.String
- dspFamily
型別:System.String
- selectConnection
型別:System.Boolean
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。