Поделиться через


Класс 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

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Common