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.
继承层次结构
System.Object
Microsoft.SqlServer.Management.Common.ConnectionInfoBase
Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class ConnectionInfoBase
用法
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
ConnectionInfoBase 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
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. |
页首
属性
名称 | 说明 | |
---|---|---|
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. |
页首
方法
名称 | 说明 | |
---|---|---|
ConnectionParmsChanged | When overridden in a derived class, enables you to specify custom actions when a connection parameter changes. | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | Returns the object as a string value. (覆盖 Object.ToString()。) |
页首
注释
When you inherit from ConnectionInfoBase, you must override the ConnectionParmsChanged member.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。