ConnectionManager.SqlConnectionObject Property

Gets the connection object.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public ReadOnly Property SqlConnectionObject As SqlConnection
    Get
'Usage
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

Property Value

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