Classe 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.

Hiérarchie d'héritage

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

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 ConnectionInfoBase
'Utilisation
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

Le type ConnectionInfoBase expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée ConnectionInfoBase() () () () Initializes a new instance of the ConnectionInfoBase class.
Méthode protégée ConnectionInfoBase(ConnectionInfoBase) Initializes a new instance of the ConnectionInfoBase class based on the specified object.
Méthode protégée ConnectionInfoBase(ConnectionType) Initializes a new instance of the ConnectionInfoBase class with the specified connection type.

Haut de la page

Propriétés

  Nom Description
Propriété publique ServerCaseSensitivity Gets or sets the server case sensitivity for the connection.
Propriété publique ServerType Gets or sets the server connection type.
Propriété publique ServerVersion Gets or sets the version information about the instance of SQL Server.

Haut de la page

Méthodes

  Nom Description
Méthode protégée ConnectionParmsChanged When overridden in a derived class, enables you to specify custom actions when a connection parameter changes.
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 Object. . :: . .ToString() () () ().)

Haut de la page

Notes

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

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.