System.Data.dll에 허용되지 않는 유형 및 멤버

SQL Server 공용 언어 통합(CLR) 프로그래밍에서는 System.Security.Permissions.HostProtectionResource 열거형이 ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Synchronization 또는 UI 값으로 지정된 HostProtectionAttribute가 있는 유형 또는 멤버를 사용할 수 없습니다. 다음 표에는 HPA(호스트 보호 특성) 값이 허용되지 않는 System.Data.dll 어셈블리의 멤버 및 유형이 나열되어 있습니다.

[!참고]

이 목록은 지원되는 어셈블리에서 생성되었습니다. 자세한 내용은 지원되는 .NET Framework 라이브러리를 참조하십시오.

유형 또는 멤버

HPA 값

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.TypedDataSetGenerator

SharedState, Synchronization

System.Xml.XmlDataDocument

Synchronization

참고 항목

개념

호스트 보호 특성 및 CLR 통합 프로그래밍

Microsoft.VisualBasic.dll에 허용되지 않는 유형 및 멤버

mscorlib.dll에 허용되지 않는 유형 및 멤버

System.dll에 허용되지 않는 유형 및 멤버

System.Core.dll에 허용되지 않는 유형 및 멤버