共用方式為


OlapConnectionInfo 類別

This class supports the SMO infrastructure and is not intended to be used directly from your code.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class OlapConnectionInfo _
    Inherits SqlOlapConnectionInfoBase
'用途
Dim instance As OlapConnectionInfo
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class OlapConnectionInfo : SqlOlapConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class OlapConnectionInfo : public SqlOlapConnectionInfoBase
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type OlapConnectionInfo =  
    class
        inherit SqlOlapConnectionInfoBase
    end
public class OlapConnectionInfo extends SqlOlapConnectionInfoBase

OlapConnectionInfo 型別公開下列成員。

建構函式

  名稱 說明
公用方法 OlapConnectionInfo() () () () This constructor supports the SMO infrastructure and is not intended to be used directly from your code.
公用方法 OlapConnectionInfo(OlapConnectionInfo) This constructor supports the SMO infrastructure and is not intended to be used directly from your code.

上層

屬性

  名稱 說明
公用屬性 ApplicationName 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets or sets a String value that specifies the application name.
公用屬性 ConnectionString 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets a String value that specifies the Database Engine connection string. (覆寫 SqlOlapConnectionInfoBase. . :: . .ConnectionString。)
受保護的屬性 ConnectionStringInternal Gets or sets the internal connection string. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 ConnectionTimeout Gets or sets the number of seconds before a connection times out. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 DatabaseName Gets or sets the database with which the connection is established. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 DatabaseNameInternal Gets or sets the internal database name. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 EncryptConnection 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets or sets a Boolean value that specifies whether the Database Engine connection should be encrypted.
受保護的屬性 IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 Password Gets or sets the password used to establish a connection. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 QueryTimeout Gets or sets the number of seconds before a query times out. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 QueryTimeoutInternal Gets or sets the internal query timeout period in seconds. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 RebuildConnectionStringInternal Gets or sets a Boolean indicating whether the internal connection string must be rebuilt. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 SecurePassword Gets or sets the secure password used to establish a connection. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 ServerCaseSensitivity Gets or sets the server case sensitivity for the connection. (繼承自 ConnectionInfoBase。)
公用屬性 ServerName Gets or sets the name of the instance of SQL Server. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 ServerNameInternal Gets or sets the internal name of the instance of SQL Server. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 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. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 UserName Gets or sets the user that is connecting to the instance of SQL Server. (繼承自 SqlOlapConnectionInfoBase。)

上層

方法

  名稱 說明
受保護的方法 ConnectionParmsChanged Changes the connection parameters. (繼承自 SqlOlapConnectionInfoBase。)
公用方法 Copy 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Creates a new OlapConnectionInfo object based on the current connection object.
公用方法 CreateConnectionObject 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Creates an IDbConnection object for a connection to an instance of the SQL Server Database Engine. (覆寫 SqlOlapConnectionInfoBase. . :: . .CreateConnectionObject() () () ()。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString Returns the object as a string value. (繼承自 SqlOlapConnectionInfoBase。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。