Skip to content

Commit 776b147

Browse files
Merge remote-tracking branch 'UpStream/main' into Adhoc/MergeAdapterUtil
2 parents 430d0de + 647006e commit 776b147

File tree

6 files changed

+60
-110
lines changed

6 files changed

+60
-110
lines changed

doc/snippets/Microsoft.Data.SqlClient/SqlConnection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ End Module
529529
|AttachDBFilename<br /><br /> -or-<br /><br /> Extended Properties<br /><br /> -or-<br /><br /> Initial File Name|N/A|The name of the primary database file, including the full path name of an attachable database. AttachDBFilename is only supported for primary data files with an .mdf extension.<br /><br /> If the value of the AttachDBFileName key is specified in the connection string, the database is attached and becomes the default database for the connection.<br /><br /> If this key is not specified and if the database was previously attached, the database will not be reattached. The previously attached database will be used as the default database for the connection.<br /><br /> If this key is specified together with the AttachDBFileName key, the value of this key will be used as the alias. However, if the name is already used in another attached database, the connection will fail.<br /><br /> The path may be absolute or relative by using the DataDirectory substitution string. If DataDirectory is used, the database file must exist within a subdirectory of the directory pointed to by the substitution string. **Note:** Remote server, HTTP, and UNC path names are not supported. <br /><br /> The database name must be specified with the keyword 'database' (or one of its aliases) as in the following:<br /><br /> <code>"AttachDbFileName=&#124;DataDirectory&#124;\data\YourDB.mdf;integrated security=true;database=YourDatabase"</code><br /><br /> An error will be generated if a log file exists in the same directory as the data file and the 'database' keyword is used when attaching the primary data file. In this case, remove the log file. Once the database is attached, a new log file will be automatically generated based on the physical path.|
530530
|Attestation Protocol|N/A|Gets or sets the value of Attestation Protocol.<br /><br />Valid values are:<br />`AAS`<br />`HGS`|
531531
|Authentication|N/A|The authentication method used for [Connecting to SQL Database By Using Azure Active Directory Authentication](https://azure.microsoft.com/documentation/articles/sql-database-aad-authentication/#7-connect-to-your-database-by-using-azure-active-directory-identities).<br /><br /> Valid values are:<br /><br /> `Active Directory Integrated`, `Active Directory Interactive`, `Active Directory Password`, `Active Directory Service Principal`, `Active Directory Device Code Flow`, `Active Directory Managed Identity`, `Active Directory MSI`, `Active Directory Default`, `Sql Password`.|
532-
|Column Encryption Setting|N/A|Enables or disables [Always Encrypted](/sql/relational-databases/security/encryption/always-encrypted-database-engine) functionality for the connection.|
532+
|Column Encryption Setting|disabled|Enables or disables [Always Encrypted](/sql/relational-databases/security/encryption/always-encrypted-database-engine) functionality for the connection. Supported values are: `enabled` and `disabled`|
533533
|Command Timeout|30|The default wait time (in seconds) before terminating the attempt to execute a command and generating an error.<br /><br /> Valid values are greater than or equal to 0 and less than or equal to 2147483647.|
534534
|Connect Retry Count<br /><br /> -or-<br /><br />ConnectRetryCount|1|Controls the number of reconnection attempts after the client identifies an idle connection failure. Valid values are 0 to 255. The default is 1. 0 means do not attempt to reconnect (disable connection resiliency).<br /><br /> For additional information about idle connection resiliency, see [Technical Article - Idle Connection Resiliency](https://go.microsoft.com/fwlink/?LinkId=393996).|
535535
|Connect Retry Interval<br /><br /> -or-<br /><br />ConnectRetryInterval|10|Specifies the time between each connection retry attempt (`ConnectRetryCount`). Valid values are 1 to 60 seconds (default=10), applied after the first reconnection attempt. When a broken connection is detected, the client immediately attempts to reconnect; this is the first reconnection attempt and only occurs if `ConnectRetryCount` is greater than 0. If the first reconnection attempt fails and `ConnectRetryCount` is greater than 1, the client waits `ConnectRetryInterval` to try the second and subsequent reconnection attempts.<br /><br /> For additional information about idle connection resiliency, see [Technical Article - Idle Connection Resiliency](https://go.microsoft.com/fwlink/?LinkId=393996).|

src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@
208208
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlClientEncryptionType.cs">
209209
<Link>Microsoft\Data\SqlClient\SqlClientEncryptionType.cs</Link>
210210
</Compile>
211+
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlClientMetaDataCollectionNames.cs">
212+
<Link>Microsoft\Data\SqlClient\SqlClientMetaDataCollectionNames.cs</Link>
213+
</Compile>
211214
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlClientSymmetricKey.cs">
212215
<Link>Microsoft\Data\SqlClient\SqlClientSymmetricKey.cs</Link>
213216
</Compile>
@@ -480,7 +483,6 @@
480483
<Compile Include="Microsoft\Data\SqlClient\SqlCachedBuffer.cs" />
481484
<Compile Include="Microsoft\Data\SqlClient\SqlClientDiagnosticListenerExtensions.cs" />
482485
<Compile Include="Microsoft\Data\SqlClient\SqlClientFactory.cs" />
483-
<Compile Include="Microsoft\Data\SqlClient\SqlClientMetaDataCollectionNames.cs" />
484486
<Compile Include="Microsoft\Data\SqlClient\SqlCommand.cs" />
485487
<Compile Include="Microsoft\Data\SqlClient\SqlCommandBuilder.cs" />
486488
<Compile Include="Microsoft\Data\SqlClient\SqlCommandSet.cs" />

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlClientMetaDataCollectionNames.cs

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@
279279
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlClientEncryptionType.cs">
280280
<Link>Microsoft\Data\SqlClient\SqlClientEncryptionType.cs</Link>
281281
</Compile>
282+
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlClientMetaDataCollectionNames.cs">
283+
<Link>Microsoft\Data\SqlClient\SqlClientMetaDataCollectionNames.cs</Link>
284+
</Compile>
282285
<Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlClientSymmetricKey.cs">
283286
<Link>Microsoft\Data\SqlClient\SqlClientSymmetricKey.cs</Link>
284287
</Compile>
@@ -433,15 +436,14 @@
433436
<Compile Include="Microsoft\Data\SqlClient\Server\SqlDataRecord.cs" />
434437
<Compile Include="Microsoft\Data\SqlClient\Server\TriggerAction.cs" />
435438
<Compile Include="Microsoft\Data\SqlTypes\SqlFileStream.cs" />
436-
<Compile Include="Microsoft\Data\SqlTypes\UnsafeNativeMethods.cs" />
439+
<Compile Include="Microsoft\Data\SqlTypes\UnsafeNativeMethods.cs" />
437440
<Compile Include="Microsoft\Data\SqlClient\SqlAuthenticationProviderManager.cs" />
438441
<Compile Include="Microsoft\Data\SqlClient\SqlBuffer.cs" />
439442
<Compile Include="Microsoft\Data\SqlClient\SqlBulkCopy.cs" />
440443
<Compile Include="Microsoft\Data\SqlClient\SqlBulkCopyColumnMappingCollection.cs" />
441444
<Compile Include="Microsoft\Data\SqlClient\SqlCachedBuffer.cs" />
442445
<Compile Include="Microsoft\Data\SqlClient\SqlCertificateCallbacks.cs" />
443446
<Compile Include="Microsoft\Data\SqlClient\SqlClientFactory.cs" />
444-
<Compile Include="Microsoft\Data\SqlClient\SqlClientMetaDataCollectionNames.cs" />
445447
<Compile Include="Microsoft\Data\SqlClient\SqlClientOriginalAddressInfo.cs" />
446448
<Compile Include="Microsoft\Data\SqlClient\SqlClientPermission.cs" />
447449
<Compile Include="Microsoft\Data\SqlClient\SqlClientWrapperSmiStream.cs" />

src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/SqlClientMetaDataCollectionNames.cs

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)