OlapConnectionInfo 类

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

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Common.ConnectionInfoBase
    Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase
      Microsoft.SqlServer.Management.Common.OlapConnectionInfo

命名空间:  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 数据库引擎. (覆盖 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Common 命名空间