You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connect/oledb/features/using-data-classification.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Using Data Classification with Microsoft OLE DB Driver for SQL Server | Microsoft Docs"
3
3
ms.custom: ""
4
-
ms.date: "08/28/2020"
4
+
ms.date: "09/30/2020"
5
5
ms.prod: sql
6
6
ms.prod_service: connectivity
7
7
ms.reviewer: ""
@@ -23,6 +23,9 @@ manager: kenvh
23
23
24
24
For more information on how to assign classification to columns, see [SQL Data Discovery and Classification](https://docs.microsoft.com/sql/relational-databases/security/sql-data-discovery-and-classification).
25
25
26
+
> [!NOTE]
27
+
> Since the ISSDataClassification interface exposes classification information obtained from the server, obtaining this interface through [in-memory rowsets](..\ole-db-table-valued-parameters\table-valued-parameter-rowset-creation.md#table-valued-parameter-rowset-creation) is not applicable, therefore, not supported.
28
+
26
29
## Code samples
27
30
28
31
The following [!INCLUDE[tsql](../../../includes/tsql-md.md)] queries can be executed in SSMS to set up the prerequisites for the sample C++ application:
@@ -36,8 +39,8 @@ GO
36
39
37
40
CREATE TABLE [dbo].[mytable](
38
41
[col1] [int] NULL,
39
-
[col2] [int] NULL,
40
-
)ON [PRIMARY]
42
+
[col2] [int] NULL
43
+
)
41
44
GO
42
45
43
46
ADD SENSITIVITY CLASSIFICATION TO [dbo].[mytable].[col1] WITH (label ='Label1', label_id ='LabelId1', information_type ='Type1', information_type_id ='TypeId1', rank = Medium)
|SSPROP_INTEGRATEDAUTHENTICATIONMETHOD|VT_BSTR, readonly|Returns the authentication method used for the connection. The value returned to the application is the value that Windows returns to OLE DB Driver for SQL Server. The following are possible values: <br />"NTLM", which is returned when a connection is opened using NTLM authentication.<br />"Kerberos", which is returned when a connection is opened using Kerberos authentication.<br /><br /> If a connection has been opened and the authentication method cannot be determined, VT_EMPTY is returned.<br /><br /> This property can only be read when a data source has been initialized. If you attempt to read the property before a data source has been initialized, IDBProperties::GetProperies will return DB_S_ERRORSOCCURRED or DB_E_ERRORSOCCURRED, as appropriate, and DBPROPSTATUS_NOTSUPPORTED will be set in DBPROPSET_PROPERTIESINERROR for this property. This behavior is in accordance with the OLE DB core specification.|
44
-
|SSPROP_MUTUALLYAUTHENICATED|VT_BOOL, readonly|Returns VARIANT_TRUE if the servers on the connection were mutually authenticated; otherwise, returns VARIANT_FALSE.<br /><br /> This property can only be read when a data source has been initialized. If there is an attempt to read the property before a data source has been initialized, IDBProperties::GetProperies will return DB_S_ERRORSOCCURRED or DB_E_ERRORSOCCURRED, as appropriate, and DBPROPSTATUS_NOTSUPPORTED will be set in DBPROPSET_PROPERTIESINERROR for this property. This behavior is in accordance with the OLE DB core specification<br /><br /> If this attribute is queried for a connection that did not use Windows Authentication, VARIANT_FALSE is returned.|
44
+
|SSPROP_MUTUALLYAUTHENTICATED|VT_BOOL, readonly|Returns VARIANT_TRUE if the servers on the connection were mutually authenticated; otherwise, returns VARIANT_FALSE.<br /><br /> This property can only be read when a data source has been initialized. If there is an attempt to read the property before a data source has been initialized, IDBProperties::GetProperies will return DB_S_ERRORSOCCURRED or DB_E_ERRORSOCCURRED, as appropriate, and DBPROPSTATUS_NOTSUPPORTED will be set in DBPROPSET_PROPERTIESINERROR for this property. This behavior is in accordance with the OLE DB core specification<br /><br /> If this attribute is queried for a connection that did not use Windows Authentication, VARIANT_FALSE is returned.|
45
45
46
46
## OLE DB API Support for SPNs
47
47
The following table describes the OLE DB member functions that support SPNs in client connections:
Copy file name to clipboardExpand all lines: docs/connect/oledb/release-notes-for-oledb-driver-for-sql-server.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Release notes for OLE DB Driver"
3
3
description: "This release notes article describes the changes in each release of the Microsoft OLE DB Driver for SQL Server."
4
-
ms.date: "08/28/2020"
4
+
ms.date: "09/30/2020"
5
5
ms.prod: sql
6
6
ms.technology: connectivity
7
7
ms.topic: conceptual
@@ -43,7 +43,9 @@ If you need to download the installer in a language other than the one detected
43
43
44
44
| Bug fixed | Details |
45
45
| :-------- | :------ |
46
-
| Fixed an issue with embedded NUL characters. | Fixed a bug which resulted in the driver returning an incorrect length of strings with embedded NUL characters. |
46
+
| Fixed an issue with embedded NUL characters. | Fixed a bug, which resulted in the driver returning an incorrect length of strings with embedded NUL characters. |
47
+
| Fixed a memory leak in the [IBCPSession](ole-db-interfaces/ibcpsession-ole-db.md) interface. | Fixed a memory leak in the [IBCPSession](ole-db-interfaces/ibcpsession-ole-db.md) interface involving bulk copy operations of `sql_variant` data type. |
48
+
| Fixed bugs, which resulted in `SSPROP_INTEGRATEDAUTHENTICATIONMETHOD` and `SSPROP_MUTUALLYAUTHENTICATED` properties not returning correct values. | Fix bugs, which resulted in incorrect values being returned when attempting to read the values of these properties. Details about these properties can be found [here](ole-db\service-principal-names-spns-in-client-connections-ole-db.md#data-source-properties).|
0 commit comments