Класс 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.