SqlConnectionProperties 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 SqlConnectionProperties 類別的新執行個體。
多載
| SqlConnectionProperties() |
使用預設屬性值,初始化 SqlConnectionProperties 類別的新執行個體。 |
| SqlConnectionProperties(IServerType) |
使用指定的父伺服器參數,初始化 SqlConnectionProperties 類別的新執行個體。 |
SqlConnectionProperties()
使用預設屬性值,初始化 SqlConnectionProperties 類別的新執行個體。
public:
SqlConnectionProperties();
public SqlConnectionProperties ();
Public Sub New ()
適用於
SqlConnectionProperties(IServerType)
使用指定的父伺服器參數,初始化 SqlConnectionProperties 類別的新執行個體。
public:
SqlConnectionProperties(Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ parentServer);
public SqlConnectionProperties (Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType parentServer);
new Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlConnectionProperties : Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType -> Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlConnectionProperties
Public Sub New (parentServer As IServerType)
參數
- parentServer
- IServerType
用來建立控制項執行個體的伺服器。