OlapServerType 類別

定義

重要

此 API 不符合 CLS 規範。

實作 Analysis Server 連接之連接對話方塊的介面。

public ref class OlapServerType : Microsoft::SqlServer::Management::UI::ConnectionDlg::IConnectionValidator, Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType
[Microsoft.SqlServer.Management.UI.ConnectionDlg.AdvancedViewHelpKeyWord("sql13.swb.connecttoas.login.f1")]
[Microsoft.SqlServer.Management.UI.ConnectionDlg.HelpKeyWord("sql13.swb.connection.login.analysisserver.f1")]
[Microsoft.SqlServer.Management.UI.ConnectionDlg.RegisterServerHelpKeyWord("sql13.swb.registerserver.general.analysisservices.f1")]
[System.CLSCompliant(false)]
public class OlapServerType : Microsoft.SqlServer.Management.UI.ConnectionDlg.IConnectionValidator, Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
[<Microsoft.SqlServer.Management.UI.ConnectionDlg.AdvancedViewHelpKeyWord("sql13.swb.connecttoas.login.f1")>]
[<Microsoft.SqlServer.Management.UI.ConnectionDlg.HelpKeyWord("sql13.swb.connection.login.analysisserver.f1")>]
[<Microsoft.SqlServer.Management.UI.ConnectionDlg.RegisterServerHelpKeyWord("sql13.swb.registerserver.general.analysisservices.f1")>]
[<System.CLSCompliant(false)>]
type OlapServerType = class
    interface IServerType
    interface IConnectionValidator
Public Class OlapServerType
Implements IConnectionValidator, IServerType
繼承
OlapServerType
屬性
實作

建構函式

OlapServerType()

初始化 OlapServerType 類別的新執行個體。

欄位

authCollection

在屬性中定義 AuthenticationInfo 的集合。

ConnectionTimeout

為連接逾時定義常數字串值。

Database

為資料庫定義常數字串值。

EncryptConnection

為加密連接定義常數字串值。

ExecutionTimeout

為執行逾時定義常數字串值。

ExecutionTimeoutDisable

為執行逾時停用定義常數字串值。

InternetAuthenticationType

為網際網路驗證類型定義常數整數值。

reqSize

定義伺服器的要求屬性大小。

serverInstanceName

傳回指定之資源的字串值,表示伺服器執行個體名稱。

serverName

傳回指定之資源的字串值,表示伺服器名稱。

serverRootName

傳回指定之資源的字串值,表示伺服器的根名稱。

ServerType

使用全域唯一識別碼初始化指定的伺服器類型。

TrustedAuthenticationType

為信任的驗證類型定義常數整數值。

明確介面實作

IConnectionValidator.CheckConnection(IDbConnection)

檢查新開啟的連接應該傳回給呼叫的應用程式還是應該跳回。

IServerType.AuthenticationInfoCollection
IServerType.GenerateImage()

引發 Image 事件來載入伺服器的指定圖示。

IServerType.GenerateUserControl()

引發 UserControl 事件,在伺服器中產生使用者控制項。

IServerType.GetConnectionObject(UIConnectionInfo)

傳回新的 IDbConnection 物件,它是以傳遞的 UIConnectionInfo 物件為基礎。

IServerType.LoadPersonalizationInfo(UIConnectionInfo, Boolean)

載入使用 SavePersonalizationInfo 連接成功時儲存的任何個人化資訊。 個人化資訊是透過伺服器類型、伺服器名稱、驗證類型和使用者名稱的組合提供唯一的識別。

IServerType.ProceedWithConnection(UIConnectionInfo)

指出連接是否可繼續,或是連接對話方塊是否應留在螢幕上。

IServerType.RequestedPropertySize
IServerType.SavePersonalizationInfo(UIConnectionInfo)

儲存後續使用連接對話方塊時可能需要的個人化資訊,例如伺服器類型、伺服器名稱、驗證類型和使用者名稱。

IServerType.ServerGroupName
IServerType.ServerInstanceName
IServerType.ServerType
IServerType.ServerTypeName

適用於