Partager via


Propriété SqlConnectionObject

Gets the connection object.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property SqlConnectionObject As SqlConnection
    Get
'Utilisation
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

Valeur de propriété

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