ConnectionManager.SqlConnectionObject 屬性
取得連接物件。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public ReadOnly Property SqlConnectionObject As SqlConnection
Get
'用途
Dim instance As ConnectionManager
Dim value As SqlConnection
value = instance.SqlConnectionObject
public SqlConnection SqlConnectionObject { get; }
public:
property SqlConnection^ SqlConnectionObject {
SqlConnection^ get ();
}
member SqlConnectionObject : SqlConnection
function get SqlConnectionObject () : SqlConnection
屬性值
型別:SqlConnection
指定連接的 SqlConnection 物件值。