OlapServerType.IServerType.GetConnectionObject Method (UIConnectionInfo)
Applies To: SQL Server 2016 Preview
Returns a new IDbConnection object that is based on the passed UIConnectionInfo object.
Namespace: Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly: ConnectionDlg (in ConnectionDlg.dll)
Syntax
IDbConnection IServerType.GetConnectionObject(
UIConnectionInfo ci
)
private:
virtual IDbConnection^ GetConnectionObject(
UIConnectionInfo^ ci
) sealed = IServerType::GetConnectionObject
private abstract GetConnectionObject :
ci:UIConnectionInfo -> IDbConnection
private override GetConnectionObject :
ci:UIConnectionInfo -> IDbConnection
Private Function GetConnectionObject (
ci As UIConnectionInfo
) As IDbConnection
Implements IServerType.GetConnectionObject
Parameters
ci
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfoThe connection information.
Return Value
Type: System.Data.IDbConnection
The new IDbConnection object.
Implements
IServerType.GetConnectionObject(UIConnectionInfo)
See Also
OlapServerType Class
Microsoft.SqlServer.Management.UI.ConnectionDlg Namespace
Return to top