Classe SqlOlapConnectionInfoBase

The SqlOlapConnectionInfoBase class represents information used to connect to the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class SqlOlapConnectionInfoBase _
    Inherits ConnectionInfoBase
'Uso
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

O tipo SqlOlapConnectionInfoBase expõe os membros a seguir.

Construtores

  Nome Descrição
Método protegido SqlOlapConnectionInfoBase() () () () Initializes a new instance of the SqlOlapConnectionInfoBase class.
Método protegido SqlOlapConnectionInfoBase(ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Método protegido SqlOlapConnectionInfoBase(SqlOlapConnectionInfoBase) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Método protegido SqlOlapConnectionInfoBase(String, ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Método público SqlOlapConnectionInfoBase(String, String, String, ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.

Início

Propriedades

  Nome Descrição
Propriedade pública ConnectionString Gets the connection string.
Propriedade protegida ConnectionStringInternal Gets or sets the internal connection string.
Propriedade pública ConnectionTimeout Gets or sets the number of seconds before a connection times out.
Propriedade protegida ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds.
Propriedade pública DatabaseName Gets or sets the database with which the connection is established.
Propriedade protegida DatabaseNameInternal Gets or sets the internal database name.
Propriedade protegida IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security.
Propriedade pública Password Gets or sets the password used to establish a connection.
Propriedade pública QueryTimeout Gets or sets the number of seconds before a query times out.
Propriedade protegida QueryTimeoutInternal Gets or sets the internal query timeout period in seconds.
Propriedade protegida RebuildConnectionStringInternal Gets or sets a Boolean indicating whether the internal connection string must be rebuilt.
Propriedade pública SecurePassword Gets or sets the secure password used to establish a connection.
Propriedade pública ServerCaseSensitivity Gets or sets the server case sensitivity for the connection. (Herdado de ConnectionInfoBase.)
Propriedade pública ServerName Gets or sets the name of the instance of SQL Server.
Propriedade protegida ServerNameInternal Gets or sets the internal name of the instance of SQL Server.
Propriedade pública ServerType Gets or sets the server connection type. (Herdado de ConnectionInfoBase.)
Propriedade pública ServerVersion Gets or sets the version information about the instance of SQL Server. (Herdado de ConnectionInfoBase.)
Propriedade pública UseIntegratedSecurity Gets or sets the Boolean property value that specifies whether the connection uses integrated security.
Propriedade pública UserName Gets or sets the user that is connecting to the instance of SQL Server.

Início

Métodos

  Nome Descrição
Método protegido ConnectionParmsChanged Changes the connection parameters. (Substitui ConnectionInfoBase. . :: . .ConnectionParmsChanged() () () ().)
Método público CreateConnectionObject Creates the connection object and returns the IDbConnection object value.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString Returns the object as a string value. (Substitui ConnectionInfoBase. . :: . .ToString() () () ().)

Início

Campos

  Nome Descrição
Campo públicoMembro estático DefaultConnTimeout A Int32 that specifies the default connection time out period in seconds.
Campo públicoMembro estático DefaultQueryTimeout A Int32 that specifies the default query time out period in seconds.
Campo protegidoMembro estático NoTimeOut A Int32 that specifies there is no time out.

Início

Comentários

The SqlOlapConnectionInfoBase class is a base class that is used in the construction of the SqlConnectionInfo class

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.