ConnectionManager.SqlConnectionObject Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a reference to the SqlConnection object used by the ConnectionContext object. This should always return the valid sqlConnection object with the latest valid ConnectionString set. Exceptions: PropertyNotAvailableException
public System.Data.SqlClient.SqlConnection SqlConnectionObject { get; }
public Microsoft.Data.SqlClient.SqlConnection SqlConnectionObject { get; }
member this.SqlConnectionObject : System.Data.SqlClient.SqlConnection
member this.SqlConnectionObject : Microsoft.Data.SqlClient.SqlConnection
Public ReadOnly Property SqlConnectionObject As SqlConnection