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 | Gets or sets a Boolean indicating whether the internal connection string must be rebuilt. | |
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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。