Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce SPID connection property #660

Merged
merged 5 commits into from Jul 23, 2020
Merged

Conversation

cheenamalhotra
Copy link
Member

Addresses #657

Introduces new SqlConnection's readonly property:
ServerProcessId: The server process Id (SPID) of the active connection.

cc @shueybubbles

@cheenamalhotra cheenamalhotra linked an issue Jul 21, 2020 that may be closed by this pull request
@cheenamalhotra cheenamalhotra added this to In progress in SqlClient v2.1 via automation Jul 22, 2020
@cheenamalhotra cheenamalhotra added this to the 2.1.0-preview1 milestone Jul 22, 2020
SqlClient v2.1 automation moved this from In progress to Reviewer approved Jul 23, 2020
@cheenamalhotra cheenamalhotra merged commit 580b172 into dotnet:master Jul 23, 2020
SqlClient v2.1 automation moved this from Reviewer approved to Done Jul 23, 2020
@cheenamalhotra cheenamalhotra added the 🆕 Public API Use this label for new API additions to the driver. label Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 Public API Use this label for new API additions to the driver.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Expose ProcessId (SPID) as a public property on SqlConnection
5 participants