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.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Common..::..ConnectionInfoBase
Microsoft.SqlServer.Management.Common. . :: . .SqlOlapConnectionInfoBase
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
<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
O tipo ConnectionInfoBase expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ConnectionInfoBase() () () () | Initializes a new instance of the ConnectionInfoBase class. | |
ConnectionInfoBase(ConnectionInfoBase) | Initializes a new instance of the ConnectionInfoBase class based on the specified object. | |
ConnectionInfoBase(ConnectionType) | Initializes a new instance of the ConnectionInfoBase class with the specified connection type. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
ServerCaseSensitivity | Gets or sets the server case sensitivity for the connection. | |
ServerType | Gets or sets the server connection type. | |
ServerVersion | Gets or sets the version information about the instance of SQL Server. |
Início
Métodos
Nome | Descrição | |
---|---|---|
ConnectionParmsChanged | When overridden in a derived class, enables you to specify custom actions when a connection parameter changes. | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | Returns the object as a string value. (Substitui Object. . :: . .ToString() () () ().) |
Início
Comentários
When you inherit from ConnectionInfoBase, you must override the ConnectionParmsChanged member.
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.