Compartir a través de


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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class ConnectionInfoBase
'Uso
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

El tipo ConnectionInfoBase expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido ConnectionInfoBase() () () () Initializes a new instance of the ConnectionInfoBase class.
Método protegido ConnectionInfoBase(ConnectionInfoBase) Initializes a new instance of the ConnectionInfoBase class based on the specified object.
Método protegido ConnectionInfoBase(ConnectionType) Initializes a new instance of the ConnectionInfoBase class with the specified connection type.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública ServerCaseSensitivity Gets or sets the server case sensitivity for the connection.
Propiedad pública ServerType Gets or sets the server connection type.
Propiedad pública ServerVersion Gets or sets the version information about the instance of SQL Server.

Arriba

Métodos

  Nombre Descripción
Método protegido ConnectionParmsChanged When overridden in a derived class, enables you to specify custom actions when a connection parameter changes.
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString Returns the object as a string value. (Invalida Object. . :: . .ToString() () () ().)

Arriba

Comentarios

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

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.