Share via


ConnectionManager.SqlConnectionObject 属性

Gets the connection object.

命名空间:  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

属性值

类型:System.Data.SqlClient.SqlConnection
A SqlConnection object value that specifies the connection.

请参阅

参考

ConnectionManager 类

Microsoft.SqlServer.Management.Common 命名空间