Skip to content

Commit 125be59

Browse files
committed
Rename Server Process ID to Session ID
1 parent 83e0022 commit 125be59

48 files changed

Lines changed: 91 additions & 91 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

azure-sql/database/understand-resolve-blocking.md

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.

docs/connect/ado-net/data-tracing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For connection operations, the Microsoft SqlClient Data Provider for SQL Server
4141
You can get the client connection ID programmatically by using the `SqlConnection.ClientConnectionID` property.
4242

4343
> [!NOTE]
44-
> The Microsoft SqlClient Data Provider for SQL Server supports the server process ID since version 2.1.0. You can get it programmatically by using the `SqlConnection.ServerProcessId` property.
44+
> The Microsoft SqlClient Data Provider for SQL Server supports the session ID (SPID) since version 2.1.0. You can get it programmatically by using the `SqlConnection.ServerProcessId` property.
4545
4646
The `ClientConnectionID` and `ServerProcessId` are available for a <xref:Microsoft.Data.SqlClient.SqlConnection> object that successfully establishes a connection. If a connection attempt fails, `ClientConnectionID` may be available via `SqlException.ToString`.
4747

docs/connect/ado-net/introduction-microsoft-data-sqlclient-namespace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,14 +914,14 @@ public enum SensitivityRank
914914
}
915915
```
916916

917-
### Server Process ID for an active `SqlConnection`
917+
### Session ID for an active `SqlConnection`
918918

919919
Microsoft.Data.SqlClient v2.1 introduces a new `SqlConnection` property, `ServerProcessId`, on an active connection.
920920

921921
```csharp
922922
public class SqlConnection
923923
{
924-
// Returns the server process Id (SPID) of the active connection.
924+
// Returns the session ID (SPID) of the active connection.
925925
public int ServerProcessId;
926926
}
927927
```

docs/connect/jdbc/using-kerberos-integrated-authentication-to-connect-to-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Java.exe -Djava.security.auth.login.config=SQLJDBCDriver.conf -Djava.security.kr
157157
Run the following query in SQL Server Management Studio:
158158

159159
```sql
160-
select auth_scheme from sys.dm_exec_connections where session_id=\@\@spid
160+
select auth_scheme from sys.dm_exec_connections where session_id=@@spid
161161
```
162162

163163
Make sure that you have the necessary permission to run this query.

docs/connect/odbc/dsn-connection-string-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ Allows long type data to be sent to servers as max type data.
389389

390390
### SQL_COPT_SS_SPID
391391

392-
Retrieves the server process ID of the connection. This property is equivalent to the T-SQL [@@SPID](../../t-sql/functions/spid-transact-sql.md) variable, except that it doesn't incur an extra round trip to the server.
392+
Retrieves the session ID of the connection. This property is equivalent to the T-SQL [@@SPID](../../t-sql/functions/spid-transact-sql.md) variable, except that it doesn't incur an extra round trip to the server.
393393

394394
| Attribute Value | Description |
395395
|-|-|

docs/relational-databases/event-classes/audit-broker-conversation-event-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
3636
|**RoleName**|**nvarchar**|The role of the conversation handle. This is either **initiator** or **target**.|38|No|
3737
|**ServerName**|**nvarchar**|The name of the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] being traced.|26|No|
3838
|**Severity**|**int**|The [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] error severity, if this event reports an error.|29|No|
39-
|**SPID**|**int**|The server process ID assigned by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to the process associated with the client.|12|Yes|
39+
|**SPID**|**int**|The session ID assigned by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to the process associated with the client.|12|Yes|
4040
|**StartTime**|**datetime**|The time at which the event started, when available.|14|Yes|
4141
|**State**|**int**|Indicates the location within the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] source code that produced the event. Each location that may produce this event has a different state code. A Microsoft support engineer can use this state code to find where the event was produced.|30|No|
4242
|**TextData**|**ntext**|For errors, contains a message that describes the reason for the failure. One of the following values:<br /><br /> <br /><br /> **Cert not found**. The user specified for dialog protocol security has no certificate.<br /><br /> **Not in valid time period**. The user specified for dialog protocol security has a certificate, but the certificate has expired.<br /><br /> **Cert too large for memory allocation**. The user specified for dialog protocol security has a certificate, but the certificate is too large. The maximum certificate size that Service Broker supports is 32,768 bytes.<br /><br /> **Private key not found**. The user specified for dialog protocol security has a certificate, but there is no private key associated with that certificate.<br /><br /> **The cert's private key size is incompatible with the crypto provider**. The private key for the certificate has a key size that cannot be successfully processed. The private key size must be a multiple of 64 bytes.<br /><br /> **The cert's public key size is incompatible with the crypto provider**. The public key for the certificate has a key size that cannot be successfully processed. The public key size must be a multiple of 64 bytes.<br /><br /> **The cert's private key size is incompatible with the encrypted key exchange key**. The key size specified in the key exchange key does not match the size of the private key for the certificate. This generally indicates that the certificate on the remote computer does not match the certificate in the database.<br /><br /> **The cert's public key size is incompatible with the security header's signature**. The security header contains a signature that cannot be validated with the certificate's public key. This generally indicates that the certificate on the remote computer does not match the certificate in the database.|1|Yes|

docs/relational-databases/event-classes/audit-broker-login-event-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
3636
|**ProviderName**|**nvarchar**|The authentication method used for this connection|46|No|
3737
|**RoleName**|**nvarchar**|The role of the connection. This is either **initiator** or **target**.|38|No|
3838
|**ServerName**|**nvarchar**|The name of the instance of SQL Server being traced.|26|No|
39-
|**SPID**|**int**|The server process ID assigned by SQL Server to the process associated with the client.|12|Yes|
39+
|**SPID**|**int**|The session ID assigned by SQL Server to the process associated with the client.|12|Yes|
4040
|**StartTime**|**datetime**|The time at which the event started, when available.|14|Yes|
4141
|**State**|**int**|Indicates the location within the SQL Server source code that produced the event. Each location that may produce this event has a different state code. A Microsoft support engineer can use this state code to find where the event was produced.|30|No|
4242
|**TargetUserName**|**nvarchar**|Login state. One of:<br /><br /> INITIAL<br /><br /> WAIT LOGIN NEGOTIATE<br /><br /> ONE ISC<br /><br /> ONE ASC<br /><br /> TWO ISC<br /><br /> TWO ASC<br /><br /> WAIT ISC Confirm<br /><br /> WAIT ASC Confirm<br /><br /> WAIT REJECT<br /><br /> WAIT PRE-MASTER SECRET<br /><br /> WAIT VALIDATION<br /><br /> WAIT ARBITRATION<br /><br /> ONLINE<br /><br /> ERROR<br /><br /> <br /><br /> **Note**: ISC = Initiate Security Context. ASC = Accept Security Context|39|No|

docs/relational-databases/event-classes/audit-database-mirroring-login-event-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
3838
|**ProviderName**|**nvarchar**|The authentication method used for this connection.|46|No|
3939
|**RoleName**|**nvarchar**|The role of the connection. This is either **initiator** or **target**.|38|No|
4040
|**ServerName**|**nvarchar**|The name of the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] being traced.|26|No|
41-
|**SPID**|**int**|The server process ID assigned by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to the process associated with the client.|12|Yes|
41+
|**SPID**|**int**|The session ID assigned by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to the process associated with the client.|12|Yes|
4242
|**StartTime**|**datetime**|The time at which the event started, when available.|14|Yes|
4343
|**State**|**int**|Indicates the location within the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] source code that produced the event. Each location that may produce this event has a different state code. A Microsoft support engineer can use this state code to find where the event was produced.|30|No|
4444
|**TargetUserName**|**nvarchar**|Login state. One of:<br /><br /> **INITIAL**<br /><br /> **WAIT LOGIN NEGOTIATE**<br /><br /> **ONE ISC**<br /><br /> **ONE ASC**<br /><br /> **TWO ISC**<br /><br /> **TWO ASC**<br /><br /> **WAIT ISC Confirm**<br /><br /> **WAIT ASC Confirm**<br /><br /> **WAIT REJECT**<br /><br /> **WAIT PRE-MASTER SECRET**<br /><br /> **WAIT VALIDATION**<br /><br /> **WAIT ARBITRATION**<br /><br /> **ONLINE**<br /><br /> **ERROR**<br /><br /> <br /><br /> Note: ISC = Initiate Security Context. ASC = Accept Security Context.|39|No|

docs/relational-databases/event-classes/broker-activation-event-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ monikerRange: ">=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-curren
3434
|**NTUserName**|**nvarchar**|The name of the user that owns the connection that generated this event.|6|Yes|
3535
|**ObjectID**|**int**|The queue associated with this event.|22|No|
3636
|**ServerName**|**nvarchar**|The name of the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] being traced.|26|No|
37-
|**SPID**|**int**|The server process ID assigned by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to the process associated with the client.|12|Yes|
37+
|**SPID**|**int**|The session ID assigned by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to the process associated with the client.|12|Yes|
3838
|**StartTime**|**datetime**|The time at which the event started, when available.|14|Yes|
3939
|**TransactionID**|**bigint**|The system-assigned ID of the transaction.|4|No|
4040
| &nbsp; | &nbsp; | &nbsp; | &nbsp; | &nbsp; |

docs/relational-databases/event-classes/broker-connection-event-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ monikerRange: ">=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-curren
3737
|**NTUserName**|**nvarchar**|The name of the user that owns the connection that generated this event.|6|Yes|
3838
|**ObjectName**|**nvarchar**|The conversation handle of the dialog.|34|No|
3939
|**ServerName**|**nvarchar**|The name of the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] being traced.|26|No|
40-
|**SPID**|**int**|The server process ID assigned by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to the process associated with the client.|12|Yes|
40+
|**SPID**|**int**|The session ID assigned by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to the process associated with the client.|12|Yes|
4141
|**StartTime**|**datetime**|The time at which the event started, when available.|14|Yes|
4242
|**TextData**|**ntext**|The text of the error message related to the event. For events that do not report an error, this field is empty. The error message may either be a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] error message or a Windows error message.|1|Yes|
4343
|**TransactionID**|**bigint**|The system-assigned ID of the transaction.|4|No|

0 commit comments

Comments
 (0)