Freigeben über


ConnectionManager.SqlConnectionObject-Eigenschaft

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

Eigenschaftswert

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

Siehe auch

Verweis

ConnectionManager Klasse

Microsoft.SqlServer.Management.Common-Namespace