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

定义 Internet 身份验证类型的常量整数值。

reqSize

定义服务器的请求的属性大小。

serverInstanceName

返回表示服务器实例名称的指定资源的字符串值。

serverName

返回表示服务器名称的指定资源的字符串值。

serverRootName

返回表示服务器的根名称的指定资源的字符串值。

ServerType

通过使用全局唯一标识符初始化指定的服务器类型。

TrustedAuthenticationType

定义可信身份验证类型的常量整数值。

显式接口实现

IConnectionValidator.CheckConnection(IDbConnection)

检查新打开的连接是否应返回到调用应用程序,或者检查是否应绑定该连接。

IServerType.AuthenticationInfoCollection

为 Analysis Server 连接实现连接对话框接口。

IServerType.GenerateImage()

引发 Image 事件以便加载服务器的指定图标。

IServerType.GenerateUserControl()

引发 UserControl 事件以便在服务器中生成用户控件。

IServerType.GetConnectionObject(UIConnectionInfo)

返回一个新的 IDbConnection 对象,该对象基于传递的 UIConnectionInfo 对象。

IServerType.LoadPersonalizationInfo(UIConnectionInfo, Boolean)

使用 SavePersonalizationInfo 加载成功连接时保存的任何个性化信息。 个性化信息由服务器类型、服务器名称、身份验证类型和用户名的组合唯一标识。

IServerType.ProceedWithConnection(UIConnectionInfo)

指示连接是否可以继续,或者连接对话框是否应该保留在屏幕上。

IServerType.RequestedPropertySize

为 Analysis Server 连接实现连接对话框接口。

IServerType.SavePersonalizationInfo(UIConnectionInfo)

保存以后使用连接对话框时可能需要的个性化信息,例如服务器类型、服务器名称、身份验证类型和用户名。

IServerType.ServerGroupName

为 Analysis Server 连接实现连接对话框接口。

IServerType.ServerInstanceName

为 Analysis Server 连接实现连接对话框接口。

IServerType.ServerType

为 Analysis Server 连接实现连接对话框接口。

IServerType.ServerTypeName

为 Analysis Server 连接实现连接对话框接口。

适用于