UIConnectionInfoUtil.GetUIConnectionInfoFromConnectionString メソッド

定義

重要

この API は CLS 準拠ではありません。

指定した接続文字列から取得する接続情報を示します。

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

パラメーター

connectionString
String

SQL Server データベースを開くために使用される文字列です。

connDlgServerType
IServerType

接続ダイアログ内のオブジェクトです。

戻り値

指定した接続文字列から取得する接続情報です。

属性

適用対象