SqlConnectionInfo 類別
The SqlConnectionInfo object represents information that is required to establish a connection to an instance of SQL Server.
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class SqlConnectionInfo _
Inherits SqlOlapConnectionInfoBase
'用途
Dim instance As SqlConnectionInfo
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class SqlConnectionInfo : SqlOlapConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class SqlConnectionInfo : public SqlOlapConnectionInfoBase
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type SqlConnectionInfo =
class
inherit SqlOlapConnectionInfoBase
end
public class SqlConnectionInfo extends SqlOlapConnectionInfoBase
備註
The SqlConnectionInfo object can be passed as a parameter when constructing the ServerConnection object to provide connection information.
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Management.Common. . :: . .ConnectionInfoBase
Microsoft.SqlServer.Management.Common. . :: . .SqlOlapConnectionInfoBase
Microsoft.SqlServer.Management.Common..::..SqlConnectionInfo
執行緒安全性
這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。