Skip to content

Commit 2f383ce

Browse files
authored
Merge pull request #17197 from DCtheGeek/dmc-links-connect-0
Links: SQL - connect - 0
2 parents f10548e + d1a73bb commit 2f383ce

50 files changed

Lines changed: 203 additions & 212 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.

‎docs/connect/ado-net/appcontext-switches.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ TransparentNetworkIPResolution is enabled by default. MultiSubnetFailover is dis
6565
AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.DisableTNIRByDefaultInConnectionString", true);
6666
```
6767

68-
For more information about setting these properties, see the documentation for [SqlConnection.ConnectionString Property](https://docs.microsoft.com/dotnet/api/microsoft.data.sqlclient.sqlconnection.connectionstring).
68+
For more information about setting these properties, see the documentation for [SqlConnection.ConnectionString Property](/dotnet/api/microsoft.data.sqlclient.sqlconnection.connectionstring).
6969

7070
## Enable a minimum timeout during login
7171

@@ -89,4 +89,4 @@ AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.MakeReadAsyncBlocking", fa
8989

9090
## See also
9191

92-
[AppContext Class](https://docs.microsoft.com/dotnet/api/system.appcontext?view=netcore-3.1)
92+
[AppContext Class](/dotnet/api/system.appcontext?view=netcore-3.1)

‎docs/connect/ado-net/enable-eventsource-tracing.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.reviewer:
1818

1919
[!INCLUDE [Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
2020

21-
[Event Tracing for Windows (ETW)](https://docs.microsoft.com/windows/win32/etw/event-tracing-portal) is an efficient kernel-level tracing facility that lets you log driver-defined events for debugging and testing purposes. SqlClient supports capturing ETW events at different informational levels. To begin capturing event traces, client applications should listen for events from SqlClient's EventSource implementation:
21+
[Event Tracing for Windows (ETW)](/windows/win32/etw/event-tracing-portal) is an efficient kernel-level tracing facility that lets you log driver-defined events for debugging and testing purposes. SqlClient supports capturing ETW events at different informational levels. To begin capturing event traces, client applications should listen for events from SqlClient's EventSource implementation:
2222

2323
```
2424
Microsoft.Data.SqlClient.EventSource
@@ -53,5 +53,5 @@ For more information, see the following resources.
5353

5454
|Resource|Description|
5555
|--------------|-----------------|
56-
|[EventSource Class](https://docs.microsoft.com/dotnet/api/system.diagnostics.tracing.eventsource)|Provides the ability to create ETW events.|
57-
|[EventListener Class](https://docs.microsoft.com/dotnet/api/system.diagnostics.tracing.eventlistener)|Provides methods for enabling and disabling events from event sources.|
56+
|[EventSource Class](/dotnet/api/system.diagnostics.tracing.eventsource)|Provides the ability to create ETW events.|
57+
|[EventListener Class](/dotnet/api/system.diagnostics.tracing.eventlistener)|Provides methods for enabling and disabling events from event sources.|

‎docs/connect/ado-net/find-additional-sqlclient-driver-information.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For more information about the Microsoft SqlClient Data Provider for SQL Server
2626
|--------------|-----------------|
2727
|[.NET Runtime GitHub Repository](https://github.com/dotnet/runtime)|This repo contains the library implementation for .NET Core.|
2828
|[Microsoft SqlClient Data Provider for SQL Server GitHub Repository](https://github.com/dotnet/SqlClient)|This repo contains the source code for the SqlClient driver.|
29-
|[.NET API Browser](https://docs.microsoft.com/dotnet/api/)|This site contains .NET API information for the driver.|
29+
|[.NET API Browser](/dotnet/api/)|This site contains .NET API information for the driver.|
3030

3131
## Next steps
32-
[Overview of the SqlClient driver](overview-sqlclient-driver.md)
32+
[Overview of the SqlClient driver](overview-sqlclient-driver.md)

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.TruncateScaledDecimal", tr
7171

7272
#### New connection string property synonyms
7373

74-
New synonyms have been added for the following existing connection string properties to avoid spacing confusion around properties with more than one word. Old property names will continue to be supported for backwards compatibility but the new connection string properties will now be included when fetching connection string from [SqlConnectionStringBuilder](https://docs.microsoft.com/dotnet/api/microsoft.data.sqlclient.sqlconnectionstringbuilder).
74+
New synonyms have been added for the following existing connection string properties to avoid spacing confusion around properties with more than one word. Old property names will continue to be supported for backwards compatibility but the new connection string properties will now be included when fetching connection string from [SqlConnectionStringBuilder](/dotnet/api/microsoft.data.sqlclient.sqlconnectionstringbuilder).
7575

7676
|Existing connection string property|New Synonym|
7777
|-----------------------------------|-----------|
@@ -208,12 +208,12 @@ In general, existing documentation that uses System.Data.SqlClient on .NET Frame
208208

209209
[Develop using Always Encrypted with .NET Framework Data Provider](../../relational-databases/security/encryption/develop-using-always-encrypted-with-net-framework-data-provider.md)
210210

211-
[Always Encrypted: Protect sensitive data and store encryption keys in the Windows certificate store](https://docs.microsoft.com/azure/sql-database/sql-database-always-encrypted)
211+
[Always Encrypted: Protect sensitive data and store encryption keys in the Windows certificate store](/azure/sql-database/sql-database-always-encrypted)
212212

213213
### Authentication
214214

215-
Different authentication modes can be specified by using the _Authentication_ connection string option. For more information, see the [documentation for SqlAuthenticationMethod](https://docs.microsoft.com/dotnet/api/system.data.sqlclient.sqlauthenticationmethod?view=netframework-4.7.2).
215+
Different authentication modes can be specified by using the _Authentication_ connection string option. For more information, see the [documentation for SqlAuthenticationMethod](/dotnet/api/system.data.sqlclient.sqlauthenticationmethod?view=netframework-4.7.2).
216216

217217
> [!NOTE]
218218
> Custom key store providers, like the Azure Key Vault provider, will need to be updated to support Microsoft.Data.SqlClient. Similarly, enclave providers will also need to be updated to support Microsoft.Data.SqlClient.
219-
> Always Encrypted is only supported against .NET Framework and .NET Core targets. It is not supported against .NET Standard since .NET Standard is missing certain encryption dependencies.
219+
> Always Encrypted is only supported against .NET Framework and .NET Core targets. It is not supported against .NET Standard since .NET Standard is missing certain encryption dependencies.

‎docs/connect/ado-net/overview-sqlclient-driver.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ ms.reviewer: v-kaywon
3333

3434
## Next steps
3535
[SqlClient Driver GitHub Repository](https://github.com/dotnet/SqlClient)
36-
[.NET API Browser](https://docs.microsoft.com/dotnet/api/)
36+
[.NET API Browser](/dotnet/api/)

‎docs/connect/ado-net/sql/asynchronous-operations.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Some database operations, such as command executions, can take significant time
2020
The .NET provides several standard asynchronous design patterns that developers can use to take advantage of background threads and free the user interface or high-priority threads to complete other operations in its <xref:Microsoft.Data.SqlClient.SqlCommand> class. Specifically, the <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery%2A>, <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A>, and <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader%2A> methods, paired with the <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery%2A>, <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader%2A>, and <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader%2A> methods, provide the asynchronous support.
2121

2222
> [!NOTE]
23-
> Asynchronous programming is a core feature of the .NET. For more information about the different asynchronous techniques available to developers, see [Calling Synchronous Methods Asynchronously](https://docs.microsoft.com/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously).
23+
> Asynchronous programming is a core feature of the .NET. For more information about the different asynchronous techniques available to developers, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously).
2424
2525
Although using asynchronous techniques with ADO.NET features does not add any special considerations, it is important to be aware of the benefits and pitfalls of creating multithreaded applications. The examples that follow in this section point out several important issues that developers will need to take into account when building applications that incorporate multithreaded functionality.
2626

@@ -36,4 +36,4 @@ Provides an example demonstrating the use of polling to wait for the completion
3636

3737
## Next steps
3838
- [SQL Server and ADO.NET](index.md)
39-
- [Calling Synchronous Methods Asynchronously](https://docs.microsoft.com/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously)
39+
- [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously)

‎docs/connect/ado-net/sql/context-connection.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ ms.reviewer: v-kaywon
1717

1818
The problem of internal data access is a fairly common scenario. That is, you wish to access the same server on which your common language runtime (CLR) stored procedure or function is executing. One option is to create a connection using <xref:Microsoft.Data.SqlClient.SqlConnection>, specify a connection string that points to the local server, and open the connection. This requires specifying credentials for logging in. The connection is in a different database session than the stored procedure or function, it may have different `SET` options, it is in a separate transaction, it does not see your temporary tables, and so on. If your managed stored procedure or function code is executing in the SQL Server process, it is because someone connected to that server and executed a SQL statement to invoke it. You probably want the stored procedure or function to execute in the context of that connection, along with its transaction, `SET` options, and so on. This is called the context connection.
1919

20-
The context connection lets you execute Transact-SQL statements in the same context that your code was invoked in the first place. For more detailed information, see [The context connection](https://go.microsoft.com/fwlink/?LinkId=115395) from SQL Server Books Online.
20+
The context connection lets you execute Transact-SQL statements in the same context that your code was invoked in the first place. For more detailed information, see [The context connection](/previous-versions/sql/sql-server-2008/ms131053(v=sql.100)) from SQL Server Books Online.

‎docs/connect/ado-net/sql/data-classification.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ ms.reviewer:
1818

1919
[!INCLUDE[Driver_ADONET_Download](../../../includes/driver_adonet_download.md)]
2020

21-
[Data Discovery & Classification](https://docs.microsoft.com/sql/relational-databases/security/sql-data-discovery-and-classification?view=sql-server-2017) is a set of advanced services for discovering, classifying, labeling & reporting the sensitive data in your databases. SqlClient provides an API exposing read-only Data Discovery and Classification information when the underlying source supports the feature. This information is accessed through SqlDataReader.
21+
[Data Discovery & Classification](../../../relational-databases/security/sql-data-discovery-and-classification.md?view=sql-server-2017) is a set of advanced services for discovering, classifying, labeling & reporting the sensitive data in your databases. SqlClient provides an API exposing read-only Data Discovery and Classification information when the underlying source supports the feature. This information is accessed through SqlDataReader.
2222

2323
This sample application demonstrates how to access the Data Classification properties of SqlDataReader.
2424

2525
[!code-csharp [SqlDataReader_DataDiscoveryAndClassification#1](~/../sqlclient/doc/samples/SqlDataReader_DataDiscoveryAndClassification.cs#1)]
2626

2727
**See also**
2828

29-
[SQL Server features and ADO.NET](sql-server-features-adonet.md)
29+
[SQL Server features and ADO.NET](sql-server-features-adonet.md)

‎docs/connect/ado-net/sql/date-time-data.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SQL Server 2008 introduces new data types for handling date and time information
2121

2222
Versions of SQL Server earlier than SQL Server 2008 only had two data types for working with date and time values: `datetime` and `smalldatetime`. Both of these data types contain both the date value and a time value, which makes it difficult to work with only date or only time values. Also, these data types only support dates that occur after the introduction of the Gregorian calendar in England in 1753. Another limitation is that these older data types are not time-zone aware, which makes it difficult to work with data that originates from multiple time zones.
2323

24-
Complete documentation for SQL Server data types is available in SQL Server Books Online. See [Using Date and Time Data](https://go.microsoft.com/fwlink/?LinkID=98361) for entry-level topics on date and time data.
24+
Complete documentation for SQL Server data types is available in SQL Server Books Online. See [Using Date and Time Data](/previous-versions/sql/sql-server-2008/ms180878(v=sql.100)) for entry-level topics on date and time data.
2525

2626
## Date/Time data types introduced in SQL Server 2008
2727
The following table describes the new date and time data types.
@@ -41,12 +41,12 @@ How SQL Server parses date and time values depends not only on the type system v
4141

4242
The Transact-SQL SET LANGUAGE statement implicitly sets the DATEFORMAT that determines the order of the date parts. You can use the SET DATEFORMAT Transact-SQL statement on a connection to disambiguate date values by ordering the date parts in MDY, DMY, YMD, YDM, MYD, or DYM order.
4343

44-
If you do not specify any DATEFORMAT for the connection, SQL Server uses the default language associated with the connection. For example, a date string of '01/02/03' would be interpreted as MDY (January 2, 2003) on a server with a language setting of United States English, and as DMY (February 1, 2003) on a server with a language setting of British English. The year is determined by using SQL Server's cutoff year rule, which defines the cutoff date for assigning the century value. For more information, see [two digit year cutoff Option](https://go.microsoft.com/fwlink/?LinkId=120473) in SQL Server Books Online.
44+
If you do not specify any DATEFORMAT for the connection, SQL Server uses the default language associated with the connection. For example, a date string of '01/02/03' would be interpreted as MDY (January 2, 2003) on a server with a language setting of United States English, and as DMY (February 1, 2003) on a server with a language setting of British English. The year is determined by using SQL Server's cutoff year rule, which defines the cutoff date for assigning the century value. For more information, see [two digit year cutoff Option](/previous-versions/sql/sql-server-2008-r2/ms189577(v=sql.105)) in SQL Server Books Online.
4545

4646
> [!NOTE]
4747
> The YDM date format is not supported when converting from a string format to `date`, `time`, `datetime2`, or `datetimeoffset`.
4848
49-
For more information about how SQL Server interprets date and time data, see [Using Date and Time Data](https://go.microsoft.com/fwlink/?LinkID=98361) in SQL Server 2008 Books Online.
49+
For more information about how SQL Server interprets date and time data, see [Using Date and Time Data](/previous-versions/sql/sql-server-2008/ms180878(v=sql.100)) in SQL Server 2008 Books Online.
5050

5151
## Date/Time data types and parameters
5252
The following enumerations have been added to <xref:System.Data.SqlDbType> to support the new date and time data types.
@@ -202,9 +202,9 @@ For more information about working with date and time values in SQL Server 2008,
202202

203203
|Topic|Description|
204204
|-----------|-----------------|
205-
|[Date and Time Data Types and Functions (Transact-SQL)](https://go.microsoft.com/fwlink/?LinkId=98360)|Provides an overview of all Transact-SQL date and time data types and functions.|
206-
|[Using Date and Time Data](https://go.microsoft.com/fwlink/?LinkId=98361)|Provides information about the date and time data types and functions, and examples of using them.|
207-
|[Data Types (Transact-SQL)](https://go.microsoft.com/fwlink/?LinkId=98362)|Describes system data types in SQL Server 2008.|
205+
|[Date and Time Data Types and Functions (Transact-SQL)](/previous-versions/sql/sql-server-2008/ms186724(v=sql.100))|Provides an overview of all Transact-SQL date and time data types and functions.|
206+
|[Using Date and Time Data](/previous-versions/sql/sql-server-2008/ms180878(v=sql.100))|Provides information about the date and time data types and functions, and examples of using them.|
207+
|[Data Types (Transact-SQL)](/previous-versions/sql/sql-server-2008/ms187752(v=sql.100))|Describes system data types in SQL Server 2008.|
208208

209209
## Next steps
210-
- [SQL Server data types and ADO.NET](sql-server-data-types.md)
210+
- [SQL Server data types and ADO.NET](sql-server-data-types.md)

0 commit comments

Comments
 (0)