UIConnectionInfoUtil.GetCoreConnectionInfo 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.
Initializes the ConnectionInfoBase for SQL and OLAP server types only.
Overloads
GetCoreConnectionInfo(UIConnectionGroupInfo) |
Retrieves the enumerator style connection objects out of the specified UIConnectionInfo objects with the specified list of connection information. |
GetCoreConnectionInfo(UIConnectionInfo) |
Retrieves the enumerator style connection object out of the specified UIConnectionInfo object with the specified source parameter. |
GetCoreConnectionInfo(UIConnectionGroupInfo, Boolean) |
Retrieves the enumerator style connection object out of the specified UIConnectionInfo object from the first connection information in the list with the specified database parameter. |
GetCoreConnectionInfo(UIConnectionInfo, Boolean) |
Retrieves the enumerator style connection object out of the specified UIConnectionInfo object with the specified source and database. |
GetCoreConnectionInfo(UIConnectionGroupInfo)
Retrieves the enumerator style connection objects out of the specified UIConnectionInfo objects with the specified list of connection information.
public:
static System::Collections::Generic::IList<Microsoft::SqlServer::Management::Common::SqlOlapConnectionInfoBase ^> ^ GetCoreConnectionInfo(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList);
public static System.Collections.Generic.IList<Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase> GetCoreConnectionInfo (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList);
static member GetCoreConnectionInfo : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo -> System.Collections.Generic.IList<Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase>
Public Shared Function GetCoreConnectionInfo (connectionInfoList As UIConnectionGroupInfo) As IList(Of SqlOlapConnectionInfoBase)
Parameters
- connectionInfoList
- UIConnectionGroupInfo
The list of the connection information.
Returns
The enumerator style connection object.
Applies to
GetCoreConnectionInfo(UIConnectionInfo)
Retrieves the enumerator style connection object out of the specified UIConnectionInfo object with the specified source parameter.
public:
static Microsoft::SqlServer::Management::Common::SqlOlapConnectionInfoBase ^ GetCoreConnectionInfo(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ sourceCi);
public static Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase GetCoreConnectionInfo (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo sourceCi);
static member GetCoreConnectionInfo : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase
Public Shared Function GetCoreConnectionInfo (sourceCi As UIConnectionInfo) As SqlOlapConnectionInfoBase
Parameters
- sourceCi
- UIConnectionInfo
The source of the connection information.
Returns
The enumerator style connection object.
Applies to
GetCoreConnectionInfo(UIConnectionGroupInfo, Boolean)
Retrieves the enumerator style connection object out of the specified UIConnectionInfo object from the first connection information in the list with the specified database parameter.
public:
static System::Collections::Generic::IList<Microsoft::SqlServer::Management::Common::SqlOlapConnectionInfoBase ^> ^ GetCoreConnectionInfo(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList, bool includeDatabase);
public static System.Collections.Generic.IList<Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase> GetCoreConnectionInfo (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList, bool includeDatabase);
static member GetCoreConnectionInfo : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo * bool -> System.Collections.Generic.IList<Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase>
Public Shared Function GetCoreConnectionInfo (connectionInfoList As UIConnectionGroupInfo, includeDatabase As Boolean) As IList(Of SqlOlapConnectionInfoBase)
Parameters
- connectionInfoList
- UIConnectionGroupInfo
The list of the connection information.
- includeDatabase
- Boolean
true
to the database that are included; otherwise, false
.
Returns
The enumerator style connection object.
Applies to
GetCoreConnectionInfo(UIConnectionInfo, Boolean)
Retrieves the enumerator style connection object out of the specified UIConnectionInfo object with the specified source and database.
public:
static Microsoft::SqlServer::Management::Common::SqlOlapConnectionInfoBase ^ GetCoreConnectionInfo(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ sourceCi, bool includeDatabase);
public static Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase GetCoreConnectionInfo (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo sourceCi, bool includeDatabase);
static member GetCoreConnectionInfo : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * bool -> Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase
Public Shared Function GetCoreConnectionInfo (sourceCi As UIConnectionInfo, includeDatabase As Boolean) As SqlOlapConnectionInfoBase
Parameters
- sourceCi
- UIConnectionInfo
The source of the connection information.
- includeDatabase
- Boolean
true
to the database that are included; otherwise, false
.
Returns
The enumerator style connection object.