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() () () ()。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。