https://learn.microsoft.com/pl-pl/dotnet/api/microsoft.data.sqlclient.sqlbatch.connection?view=sqlclient-dotnet-core-6.1
SqlBatch.Connection Property (Microsoft.Data.SqlClient) | Microsoft Learn
Gets or sets the SqlConnection used by this instance of the SqlBatch.
connectionpropertymicrosoftdatalearn