Freigeben über


ConnectionInfoBase-Klasse

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.

Vererbungshierarchie

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

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

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class ConnectionInfoBase
'Usage
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

Der ConnectionInfoBase-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode ConnectionInfoBase() () () () Initializes a new instance of the ConnectionInfoBase class.
Geschützte Methode ConnectionInfoBase(ConnectionInfoBase) Initializes a new instance of the ConnectionInfoBase class based on the specified object.
Geschützte Methode ConnectionInfoBase(ConnectionType) Initializes a new instance of the ConnectionInfoBase class with the specified connection type.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ServerCaseSensitivity Gets or sets the server case sensitivity for the connection.
Öffentliche Eigenschaft ServerType Gets or sets the server connection type.
Öffentliche Eigenschaft ServerVersion Gets or sets the version information about the instance of SQL Server.

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode ConnectionParmsChanged When overridden in a derived class, enables you to specify custom actions when a connection parameter changes.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString Returns the object as a string value. (Überschreibt Object. . :: . .ToString() () () ().)

Zum Anfang

Hinweise

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.