共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Common 命名空間