Właściwość ConnectionManager.SqlConnectionObject
Pobiera obiekt połączenia.
Przestrzeń nazw: Microsoft.SqlServer.Management.Common
Zestaw: Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)
Składnia
'Deklaracja
Public ReadOnly Property SqlConnectionObject As SqlConnection
Get
'Użycie
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
Wartość właściwości
Typ: System.Data.SqlClient.SqlConnection
A SqlConnection wartość obiektu, który określa połączenie.
Zobacz także