Skip to content

Introduce SPID connection property - #660

Merged
cheenamalhotra merged 5 commits into
dotnet:masterfrom
cheenamalhotra:spid
Jul 23, 2020
Merged

Introduce SPID connection property#660
cheenamalhotra merged 5 commits into
dotnet:masterfrom
cheenamalhotra:spid

Conversation

@cheenamalhotra

Copy link
Copy Markdown
Member

Addresses #657

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

cc @shueybubbles

Comment threadsrc/Microsoft.Data.SqlClient/netfx/src/Resources/Strings.resx Outdated
Comment threadsrc/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj Outdated
Comment threaddoc/snippets/Microsoft.Data.SqlClient/SqlConnection.xml Outdated
Comment threadsrc/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj Outdated
@cheenamalhotracheenamalhotra linked an issue Jul 21, 2020 that may be closed by this pull request
@cheenamalhotracheenamalhotra added this to the 2.1.0-preview1 milestone Jul 22, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Public API 🆕Issues/PRs that introduce new APIs to the driver.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose ProcessId (SPID) as a public property on SqlConnection

5 participants

@cheenamalhotra@shueybubbles@David-Engel@karinazhou@JRahnama