SqlOlapConnectionInfoBase 类
SqlOlapConnectionInfoBase 类表示用于连接到 SQL Server 实例的信息。
继承层次结构
Object
Microsoft.SqlServer.Management.Common.ConnectionInfoBase
Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase
Microsoft.SqlServer.Management.Common.OlapConnectionInfo
Microsoft.SqlServer.Management.Common.SqlConnectionInfo
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class SqlOlapConnectionInfoBase _
Inherits ConnectionInfoBase
用法
Dim instance As SqlOlapConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public abstract class SqlOlapConnectionInfoBase : ConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class SqlOlapConnectionInfoBase abstract : public ConnectionInfoBase
[<AbstractClassAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type SqlOlapConnectionInfoBase =
class
inherit ConnectionInfoBase
end
public abstract class SqlOlapConnectionInfoBase extends ConnectionInfoBase
SqlOlapConnectionInfoBase 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
SqlOlapConnectionInfoBase() | 初始化 SqlOlapConnectionInfoBase 类的新实例。 | |
SqlOlapConnectionInfoBase(ConnectionType) | 初始化 SqlOlapConnectionInfoBase 类的新实例。 | |
SqlOlapConnectionInfoBase(SqlOlapConnectionInfoBase) | 初始化 SqlOlapConnectionInfoBase 类的新实例。 | |
SqlOlapConnectionInfoBase(String, ConnectionType) | 初始化 SqlOlapConnectionInfoBase 类的新实例。 | |
SqlOlapConnectionInfoBase(String, String, String, ConnectionType) | 初始化 SqlOlapConnectionInfoBase 类的新实例。 |
顶部
属性
名称 | 说明 | |
---|---|---|
ConnectionString | 获取连接字符串。 | |
ConnectionStringInternal | 获取或设置内部连接字符串。 | |
ConnectionTimeout | 获取或设置连接超时之前等待的秒数。 | |
ConnectionTimeoutInternal | 获取或设置内部连接超时期(秒)。 | |
DatabaseName | 获取或设置与之建立连接的数据库。 | |
DatabaseNameInternal | 获取或设置内部数据库名称。 | |
IntegratedSecurityInternal | 获取或设置布尔属性值,该值指定连接是否支持集成安全性。 | |
Password | 获取或设置用于建立连接的密码。 | |
QueryTimeout | 获取或设置查询超时之前等待的秒数。 | |
QueryTimeoutInternal | 获取或设置内部查询超时期(秒)。 | |
RebuildConnectionStringInternal | 获取或设置一个 Boolean,该值指示是否必须重新生成内部连接字符串。 | |
SecurePassword | 获取或设置用于建立连接的安全密码。 | |
ServerCaseSensitivity | 获取或设置连接的服务器区分大小写属性。 (从 ConnectionInfoBase 继承。) | |
ServerName | 获取或设置 SQL Server 实例的名称。 | |
ServerNameInternal | 获取或设置 SQL Server 实例的内部名称。 | |
ServerType | 获取或设置服务器连接类型。 (从 ConnectionInfoBase 继承。) | |
ServerVersion | 获取或设置有关 SQL Server 实例的版本信息。 (从 ConnectionInfoBase 继承。) | |
UseIntegratedSecurity | 获取或设置布尔属性值,该值指定连接是否使用集成安全性。 | |
UserName | 获取或设置连接到 SQL Server 实例的用户。 |
顶部
方法
名称 | 说明 | |
---|---|---|
ConnectionParmsChanged | 更改连接参数。 (覆盖 ConnectionInfoBase.ConnectionParmsChanged()。) | |
CreateConnectionObject | 创建连接对象并返回 IDbConnection 对象值。 | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | 将对象作为字符串值返回。 (覆盖 ConnectionInfoBase.ToString()。) |
顶部
字段
名称 | 说明 | |
---|---|---|
DefaultConnTimeout | 指定默认连接超时期(秒)的 Int32。 | |
DefaultQueryTimeout | 指定默认查询超时期(秒)的 Int32。 | |
NoTimeOut | 指定无超时的 Int32。 |
顶部
注释
SqlOlapConnectionInfoBase 类是在 SqlConnectionInfo 类的构造中使用的基类。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。