UIConnectionInfoUtil.GetCoreConnectionInfo 方法

定義

只初始化 SQL 和 OLAP 伺服器類型的 ConnectionInfoBase。

多載

GetCoreConnectionInfo(UIConnectionGroupInfo)

使用指定的連接資訊清單,從指定的 UIConnectionInfo 物件擷取列舉值樣式連接物件。

GetCoreConnectionInfo(UIConnectionInfo)

使用指定的來源參數,從指定的 UIConnectionInfo 物件擷取列舉值樣式連接物件。

GetCoreConnectionInfo(UIConnectionGroupInfo, Boolean)

使用指定的資料庫參數,從清單中第一個連接資訊的指定 UIConnectionInfo 物件擷取列舉值樣式連接物件。

GetCoreConnectionInfo(UIConnectionInfo, Boolean)

使用指定的來源和資料庫,從指定的 UIConnectionInfo 物件擷取列舉值樣式連接物件。

GetCoreConnectionInfo(UIConnectionGroupInfo)

使用指定的連接資訊清單,從指定的 UIConnectionInfo 物件擷取列舉值樣式連接物件。

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

連接資訊的清單。

傳回

IList<SqlOlapConnectionInfoBase>

列舉值樣式連接物件。

適用於

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

連接資訊的來源。

傳回

SqlOlapConnectionInfoBase

列舉值樣式連接物件。

適用於

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

傳回

IList<SqlOlapConnectionInfoBase>

列舉值樣式連接物件。

適用於

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

傳回

SqlOlapConnectionInfoBase

列舉值樣式連接物件。

適用於