DbCommand.DbConnection 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.
Gets or sets the DbConnection used by this DbCommand.
protected:
abstract property System::Data::Common::DbConnection ^ DbConnection { System::Data::Common::DbConnection ^ get(); void set(System::Data::Common::DbConnection ^ value); };
protected abstract System.Data.Common.DbConnection DbConnection { get; set; }
protected abstract System.Data.Common.DbConnection? DbConnection { get; set; }
member this.DbConnection : System.Data.Common.DbConnection with get, set
Protected MustOverride Property DbConnection As DbConnection
Property Value
The connection to the data source.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.