Share via


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: SqlConnection
A SqlConnection object value that specifies the connection.

See Also

Reference

ConnectionManager Class

Microsoft.SqlServer.Management.Common Namespace