UIConnectionInfoUtil.GetUIConnectionInfoFromConnectionString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Indicates the connection info to get from the specified connection string.
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
Parameters
- connectionString
- String
The string that is used to open a SQL Server database.
- connDlgServerType
- IServerType
The object in the connection dialog.
Returns
The connection info to get from the specified connection string.
- Attributes