UIConnectionInfoUtil.GetCoreConnectionInfo メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
SQL と OLAP のサーバー タイプについてのみ ConnectionInfoBase を初期化します。
オーバーロード
GetCoreConnectionInfo(UIConnectionGroupInfo) |
指定した接続情報のリストで、指定した UIConnectionInf オブジェクトから列挙子スタイルの接続オブジェクトを取得します。 |
GetCoreConnectionInfo(UIConnectionInfo) |
指定したソース パラメーターで、指定した UIConnectionInfo オブジェクトから列挙子スタイルの接続オブジェクトを取得します。 |
GetCoreConnectionInfo(UIConnectionGroupInfo, Boolean) |
指定したデータベース パラメーターで、リスト内の最初の接続情報の指定した UIConnectionInfo オブジェクトから列挙子スタイルの接続オブジェクトを取得します。 |
GetCoreConnectionInfo(UIConnectionInfo, Boolean) |
指定したソースおよびデータベースで、指定した UIConnectionInfo オブジェクトから列挙子スタイルの接続オブジェクトを取得します。 |
GetCoreConnectionInfo(UIConnectionGroupInfo)
指定した接続情報のリストで、指定した UIConnectionInf オブジェクトから列挙子スタイルの接続オブジェクトを取得します。
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)
パラメーター
- connectionInfoList
- UIConnectionGroupInfo
接続情報の一覧。
戻り値
列挙子スタイルの接続オブジェクトです。
適用対象
GetCoreConnectionInfo(UIConnectionInfo)
指定したソース パラメーターで、指定した UIConnectionInfo オブジェクトから列挙子スタイルの接続オブジェクトを取得します。
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
パラメーター
- sourceCi
- UIConnectionInfo
接続情報のソースです。
戻り値
列挙子スタイルの接続オブジェクトです。
適用対象
GetCoreConnectionInfo(UIConnectionGroupInfo, Boolean)
指定したデータベース パラメーターで、リスト内の最初の接続情報の指定した UIConnectionInfo オブジェクトから列挙子スタイルの接続オブジェクトを取得します。
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)
パラメーター
- connectionInfoList
- UIConnectionGroupInfo
接続情報の一覧。
- includeDatabase
- Boolean
含まれるデータベースに対しては true
、それ以外の場合は false
です。
戻り値
列挙子スタイルの接続オブジェクトです。
適用対象
GetCoreConnectionInfo(UIConnectionInfo, Boolean)
指定したソースおよびデータベースで、指定した UIConnectionInfo オブジェクトから列挙子スタイルの接続オブジェクトを取得します。
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
パラメーター
- sourceCi
- UIConnectionInfo
接続情報のソースです。
- includeDatabase
- Boolean
含まれるデータベースに対しては true
、それ以外の場合は false
です。
戻り値
列挙子スタイルの接続オブジェクトです。