property Query.Connection as Connection
Connection object that has created this query object.

TypeDescription
Connection A Connection object that has created the Query object. 

Use the CreateQuery property to create a Query object. The Connection property gets the Connection object the has created the query. Use the Execute method to execute a query ( sends it to the server ).