From 168cc20bb1bbbe67cd306970b7eeda4672c6f845 Mon Sep 17 00:00:00 2001 From: Cheena Malhotra Date: Wed, 18 Nov 2020 17:39:56 -0800 Subject: [PATCH] Update docs for release --- .../ActiveDirectoryAuthenticationProvider.xml | 35 ++++++++++--------- .../Microsoft.Data.SqlClient/SqlParameter.xml | 6 ++-- .../SqlParameterCollection.xml | 2 +- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml b/doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml index d3d6322a1b..081e22dcd6 100644 --- a/doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml +++ b/doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml @@ -47,6 +47,18 @@ The callback method to be used with 'Active Directory Device Code Flow' authentication. Sets the callback method, overriding the default implementation that processes the result for 'Active Directory Device Code Flow' authentication. + + + + + The parent as an object, in order to be used from shared .NET Standard assemblies. @@ -83,23 +95,14 @@ | -|| -|| -|| -|| -|| -|| + The supported authentication modes with are: + +- Active Directory Password +- Active Directory Integrated +- Active Directory Interactive +- Active Directory Service Principal +- Active Directory Device Code Flow -## Examples - The following example demonstrates providing a custom device flow callback to SqlClient for the Device Code Flow authentication method: - - [!code-csharp[ActiveDirectory_DeviceCodeFlowCallback Example#1](~/../sqlclient/doc/samples/AADAuthenticationCustomDeviceFlowCallback.cs#1)] - ]]> diff --git a/doc/snippets/Microsoft.Data.SqlClient/SqlParameter.xml b/doc/snippets/Microsoft.Data.SqlClient/SqlParameter.xml index 988b1004fc..e2459e739a 100644 --- a/doc/snippets/Microsoft.Data.SqlClient/SqlParameter.xml +++ b/doc/snippets/Microsoft.Data.SqlClient/SqlParameter.xml @@ -115,7 +115,7 @@ If you do not perform this conversion, the compiler assumes that you are trying The name of the parameter to map. One of the values. The length of the parameter. - The name of the source column () if this is used in a call to . + The name of the source column () if this is used in a call to >. Initializes a new instance of the class that uses the parameter name, the , the size, and the source column name. if the value of the field can be null; otherwise, . The total number of digits to the left and right of the decimal point to which is resolved. The total number of decimal places to which is resolved. - The name of the source column () if this is used in a call to . + The name of the source column () if this is used in a call to . One of the values. An that is the value of the . Initializes a new instance of the class that uses the parameter name, the type of the parameter, the size of the parameter, a , the precision of the parameter, the scale of the parameter, the source column, a to use, and the value of the parameter. @@ -171,7 +171,7 @@ If you do not perform this conversion, the compiler assumes that you are trying One of the values. The total number of digits to the left and right of the decimal point to which is resolved. The total number of decimal places to which is resolved. - The name of the source column () if this is used in a call to . + The name of the source column () if this is used in a call to >. One of the values. if the source column is nullable; if it is not. diff --git a/doc/snippets/Microsoft.Data.SqlClient/SqlParameterCollection.xml b/doc/snippets/Microsoft.Data.SqlClient/SqlParameterCollection.xml index da2eea03bb..1141a8ec68 100644 --- a/doc/snippets/Microsoft.Data.SqlClient/SqlParameterCollection.xml +++ b/doc/snippets/Microsoft.Data.SqlClient/SqlParameterCollection.xml @@ -108,7 +108,7 @@ This overload is useful when you are adding a parameter of a variable-length dat The name of the parameter. One of the values. The column length. - The name of the source column () if this is used in a call to . + The name of the source column () if this is used in a call to . Adds a to the with the parameter name, the data type, and the column length. A new object.