UIConnectionInfoUtil.FillInRegisteredServerFromConnectionInfo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 API 不符合 CLS 規範。
從連接資訊擷取註冊的伺服器設定。
public:
static void FillInRegisteredServerFromConnectionInfo(Microsoft::SqlServer::Management::RegisteredServers::RegisteredServer ^ server, Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ connectionInfo, Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ connDlgServerType);
[System.CLSCompliant(false)]
public static void FillInRegisteredServerFromConnectionInfo (Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer server, Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo connectionInfo, Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType connDlgServerType);
[<System.CLSCompliant(false)>]
static member FillInRegisteredServerFromConnectionInfo : Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer * Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType -> unit
Public Shared Sub FillInRegisteredServerFromConnectionInfo (server As RegisteredServer, connectionInfo As UIConnectionInfo, connDlgServerType As IServerType)
參數
- server
- RegisteredServer
伺服器。
- connectionInfo
- UIConnectionInfo
伺服器的連接資訊。
- connDlgServerType
- IServerType
連接對話方塊。
- 屬性