Classe SqlOlapConnectionInfoBase

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

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class SqlOlapConnectionInfoBase _
    Inherits ConnectionInfoBase
'Utilisation
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

Le type SqlOlapConnectionInfoBase expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée SqlOlapConnectionInfoBase() () () () Initializes a new instance of the SqlOlapConnectionInfoBase class.
Méthode protégée SqlOlapConnectionInfoBase(ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Méthode protégée SqlOlapConnectionInfoBase(SqlOlapConnectionInfoBase) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Méthode protégée SqlOlapConnectionInfoBase(String, ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Méthode publique SqlOlapConnectionInfoBase(String, String, String, ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.

Haut de la page

Propriétés

  Nom Description
Propriété publique ConnectionString Gets the connection string.
Propriété protégée ConnectionStringInternal Gets or sets the internal connection string.
Propriété publique ConnectionTimeout Gets or sets the number of seconds before a connection times out.
Propriété protégée ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds.
Propriété publique DatabaseName Gets or sets the database with which the connection is established.
Propriété protégée DatabaseNameInternal Gets or sets the internal database name.
Propriété protégée IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security.
Propriété publique Password Gets or sets the password used to establish a connection.
Propriété publique QueryTimeout Gets or sets the number of seconds before a query times out.
Propriété protégée QueryTimeoutInternal Gets or sets the internal query timeout period in seconds.
Propriété protégée RebuildConnectionStringInternal Gets or sets a Boolean indicating whether the internal connection string must be rebuilt.
Propriété publique SecurePassword Gets or sets the secure password used to establish a connection.
Propriété publique ServerCaseSensitivity Gets or sets the server case sensitivity for the connection. (hérité de ConnectionInfoBase.)
Propriété publique ServerName Gets or sets the name of the instance of SQL Server.
Propriété protégée ServerNameInternal Gets or sets the internal name of the instance of SQL Server.
Propriété publique ServerType Gets or sets the server connection type. (hérité de ConnectionInfoBase.)
Propriété publique ServerVersion Gets or sets the version information about the instance of SQL Server. (hérité de ConnectionInfoBase.)
Propriété publique UseIntegratedSecurity Gets or sets the Boolean property value that specifies whether the connection uses integrated security.
Propriété publique UserName Gets or sets the user that is connecting to the instance of SQL Server.

Haut de la page

Méthodes

  Nom Description
Méthode protégée ConnectionParmsChanged Changes the connection parameters. (remplace ConnectionInfoBase. . :: . .ConnectionParmsChanged() () () ().)
Méthode publique CreateConnectionObject Creates the connection object and returns the IDbConnection object value.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Returns the object as a string value. (remplace ConnectionInfoBase. . :: . .ToString() () () ().)

Haut de la page

Champs

  Nom Description
Champ publicMembre statique DefaultConnTimeout A Int32 that specifies the default connection time out period in seconds.
Champ publicMembre statique DefaultQueryTimeout A Int32 that specifies the default query time out period in seconds.
Champ protégéMembre statique NoTimeOut A Int32 that specifies there is no time out.

Haut de la page

Notes

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.