Класс ConnectionInfoBase

The ConnectionInfoBase object is a base class that is used in the construction of the SqlOlapConnectionInfoBase class and it represents information used to connect to an instance of SQL Server.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class ConnectionInfoBase
'Применение
Dim instance As ConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public abstract class ConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ConnectionInfoBase abstract
[<AbstractClassAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ConnectionInfoBase =  class end
public abstract class ConnectionInfoBase

Тип ConnectionInfoBase обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод ConnectionInfoBase() () () () Initializes a new instance of the ConnectionInfoBase class.
Защищенный метод ConnectionInfoBase(ConnectionInfoBase) Initializes a new instance of the ConnectionInfoBase class based on the specified object.
Защищенный метод ConnectionInfoBase(ConnectionType) Initializes a new instance of the ConnectionInfoBase class with the specified connection type.

В начало

Свойства

  Имя Описание
Открытое свойство ServerCaseSensitivity Gets or sets the server case sensitivity for the connection.
Открытое свойство ServerType Gets or sets the server connection type.
Открытое свойство ServerVersion Gets or sets the version information about the instance of SQL Server.

В начало

Методы

  Имя Описание
Защищенный метод ConnectionParmsChanged When overridden in a derived class, enables you to specify custom actions when a connection parameter changes.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString Returns the object as a string value. (Переопределяет Object. . :: . .ToString() () () ().)

В начало

Замечания

When you inherit from ConnectionInfoBase, you must override the ConnectionParmsChanged member.

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

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