SqlOlapConnectionInfoBase 类
The SqlOlapConnectionInfoBase class represents information used to connect to the instance of SQL Server.
继承层次结构
System. . :: . .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() () () () | Initializes a new instance of the SqlOlapConnectionInfoBase class. | |
SqlOlapConnectionInfoBase(ConnectionType) | Initializes a new instance of the SqlOlapConnectionInfoBase class. | |
SqlOlapConnectionInfoBase(SqlOlapConnectionInfoBase) | Initializes a new instance of the SqlOlapConnectionInfoBase class. | |
SqlOlapConnectionInfoBase(String, ConnectionType) | Initializes a new instance of the SqlOlapConnectionInfoBase class. | |
SqlOlapConnectionInfoBase(String, String, String, ConnectionType) | Initializes a new instance of the SqlOlapConnectionInfoBase class. |
页首
属性
名称 | 说明 | |
---|---|---|
ConnectionString | Gets the connection string. | |
ConnectionStringInternal | Gets or sets the internal connection string. | |
ConnectionTimeout | Gets or sets the number of seconds before a connection times out. | |
ConnectionTimeoutInternal | Gets or sets the internal connection timeout period in seconds. | |
DatabaseName | Gets or sets the database with which the connection is established. | |
DatabaseNameInternal | Gets or sets the internal database name. | |
IntegratedSecurityInternal | Gets or sets the Boolean property value that specifies whether the connection supports integrated security. | |
Password | Gets or sets the password used to establish a connection. | |
QueryTimeout | Gets or sets the number of seconds before a query times out. | |
QueryTimeoutInternal | Gets or sets the internal query timeout period in seconds. | |
RebuildConnectionStringInternal | ||
SecurePassword | Gets or sets the secure password used to establish a connection. | |
ServerCaseSensitivity | Gets or sets the server case sensitivity for the connection. (从 ConnectionInfoBase 继承。) | |
ServerName | Gets or sets the name of the instance of SQL Server. | |
ServerNameInternal | Gets or sets the internal name of the instance of SQL Server. | |
ServerType | Gets or sets the server connection type. (从 ConnectionInfoBase 继承。) | |
ServerVersion | Gets or sets the version information about the instance of SQL Server. (从 ConnectionInfoBase 继承。) | |
UseIntegratedSecurity | Gets or sets the Boolean property value that specifies whether the connection uses integrated security. | |
UserName | Gets or sets the user that is connecting to the instance of SQL Server. |
页首
方法
名称 | 说明 | |
---|---|---|
ConnectionParmsChanged | Changes the connection parameters. (覆盖 ConnectionInfoBase. . :: . .ConnectionParmsChanged() () () ()。) | |
CreateConnectionObject | Creates the connection object and returns the IDbConnection object value. | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | Returns the object as a string value. (覆盖 ConnectionInfoBase. . :: . .ToString() () () ()。) |
页首
字段
名称 | 说明 | |
---|---|---|
DefaultConnTimeout | A Int32 that specifies the default connection time out period in seconds. | |
DefaultQueryTimeout | A Int32 that specifies the default query time out period in seconds. | |
NoTimeOut | A Int32 that specifies there is no time out. |
页首
注释
The SqlOlapConnectionInfoBase class is a base class that is used in the construction of the SqlConnectionInfo class
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。