Disallowed Types and Members in System.Data.dll

Disallowed Types and Members in System.Data.dll

 

Applies To: SQL Server 2016 Preview

SQL Server common language integration (CLR) programming disallows the use of a type or member that has a HostProtectionAttribute that specifies a System.Security.Permissions.HostProtectionResource enumeration with a value of ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Synchronization, or UI. The following table lists the members and types of the System.Data.dll assembly whose Host Protection Attribute (HPA) values are disallowed.

System_CAPS_ICON_note.jpg Note


This list was generated from the supported assemblies. For more information, see Supported .NET Framework Libraries.

Type or MemberHPA Value(s)
System.Data.SqlClient.SqlCommand.BeginExecuteNonQuery()ExternalThreading
System.Data.SqlClient.SqlCommand.BeginExecuteReader()ExternalThreading
System.Data.SqlClient.SqlCommand.BeginExecuteXmlReader()ExternalThreading
System.Data.SqlClient.SqlDependency..ctor()ExternalThreading
System.Data.SqlClient.SqlDependency.Start()ExternalThreading
System.Data.SqlClient.SqlDependency.Stop()ExternalThreading
System.Data.TypedDataSetGeneratorSharedState, Synchronization
System.Xml.XmlDataDocumentSynchronization

Host Protection Attributes and CLR Integration Programming
Disallowed Types and Members in Microsoft.VisualBasic.dll
Disallowed Types and Members in mscorlib.dll
Disallowed Types and Members in System.dll
Disallowed Types and Members in System.Core.dll

Community Additions

ADD
Show:
© 2016 Microsoft