UIConnectionInfoUtil.GetYukonUIConnectionInfoFromRegisteredServer 方法

定义

重要

此 API 不符合 CLS。

指示要从已注册的服务器获取的 YukonUIConnectionInfo 设置。

public:
 static Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ GetYukonUIConnectionInfoFromRegisteredServer(Microsoft::SqlServer::Management::RegisteredServers::RegisteredServer ^ regSrv, Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ connDlgServerType);
[System.CLSCompliant(false)]
public static Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo GetYukonUIConnectionInfoFromRegisteredServer (Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer regSrv, Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType connDlgServerType);
[<System.CLSCompliant(false)>]
static member GetYukonUIConnectionInfoFromRegisteredServer : Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer * Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType -> Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
Public Shared Function GetYukonUIConnectionInfoFromRegisteredServer (regSrv As RegisteredServer, connDlgServerType As IServerType) As UIConnectionInfo

参数

regSrv
RegisteredServer

连接中的已注册的服务器。

connDlgServerType
IServerType

服务器中的连接对话框。

返回

UIConnectionInfo

要从已注册的服务器获取的 YukonUIConnectionInfo 设置。

属性

适用于