Condividi tramite


Proprietà SqlConnectionObject

Gets the connection object.

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

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

Valore proprietà

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