Tipos y miembros no permitidos en Microsoft.VisualBasic.dll
La programación de la integración CLR en SQL Server no permite el uso de un tipo o miembro que contiene HostProtectionAttribute que especifica una enumeración System.Security.Permissions.HostProtectionResource con un valor de ExternalProcessMgmt, ExternalThreading, MayLeakOnAbort, SecurityInfrastructure, SelfAffectingProcessMgmnt, SelfAffectingThreading, SharedState, Synchronization o UI. En la tabla siguiente se enumeran los miembros y tipos del ensamblado Microsoft.VisualBasic.dll cuyos valores de atributo de protección de host (HPA) no están permitidos.
Nota
Esta lista se generó a partir los ensamblados compatibles del SP1 de la versión 2.0 de .NET Framework. Para obtener más información, vea Bibliotecas de .NET Framework admitidas.
Tipo o miembro |
Valores HPA |
---|---|
Microsoft.VisualBasic.ApplicationServices.ApplicationBase |
ExternalProcessMgmt |
Microsoft.VisualBasic.ApplicationServices.ApplicationBase.ChangeCulture() |
ExternalProcessMgmt |
Microsoft.VisualBasic.ApplicationServices.ApplicationBase.get_Info() |
ExternalProcessMgmt |
Microsoft.VisualBasic.ApplicationServices.AssemblyInfo |
ExternalProcessMgmt |
Microsoft.VisualBasic.ApplicationServices.BuiltInRoleConverter |
SharedState |
Microsoft.VisualBasic.ApplicationServices.ConsoleApplicationBase |
ExternalProcessMgmt |
Microsoft.VisualBasic.ApplicationServices.User |
ExternalProcessMgmt |
Microsoft.VisualBasic.ApplicationServices.WebUser |
ExternalProcessMgmt |
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase |
ExternalProcessMgmt |
Microsoft.VisualBasic.CompilerServices.HostServices |
SharedState |
Microsoft.VisualBasic.CompilerServices.ProjectData.EndApp() |
SelfAffectingProcessMgmt |
Microsoft.VisualBasic.CompilerServices.Utils.SetCultureInfo() |
SelfAffectingThreading |
Microsoft.VisualBasic.DateAndTime.set_DateString() |
ExternalProcessMgmt |
Microsoft.VisualBasic.DateAndTime.set_TimeOfDay() |
ExternalProcessMgmt |
Microsoft.VisualBasic.DateAndTime.set_TimeString() |
ExternalProcessMgmt |
Microsoft.VisualBasic.DateAndTime.set_Today() |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.Audio |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.Clock |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.Computer |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.ComputerInfo |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.Keyboard |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.Mouse |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.Network |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.Ports |
ExternalProcessMgmt |
Microsoft.VisualBasic.Devices.ServerComputer |
ExternalProcessMgmt |
Microsoft.VisualBasic.FileIO.FileSystem |
ExternalProcessMgmt |
Microsoft.VisualBasic.FileIO.SpecialDirectories |
ExternalProcessMgmt |
Microsoft.VisualBasic.FileIO.TextFieldParser..ctor() |
ExternalProcessMgmt |
Microsoft.VisualBasic.FileSystem |
ExternalProcessMgmt |
Microsoft.VisualBasic.Interaction.CreateObject() |
ExternalProcessMgmt |
Microsoft.VisualBasic.Interaction.DeleteSetting() |
ExternalProcessMgmt |
Microsoft.VisualBasic.Interaction.GetObject() |
ExternalProcessMgmt |
Microsoft.VisualBasic.Interaction.InputBox() |
UI |
Microsoft.VisualBasic.Interaction.MsgBox() |
UI |
Microsoft.VisualBasic.Logging.AspLog |
ExternalProcessMgmt |
Microsoft.VisualBasic.Logging.FileLogTraceListener..ctor() |
ExternalProcessMgmt |
Microsoft.VisualBasic.Logging.FileLogTraceListener.Close() |
Synchronization |
Microsoft.VisualBasic.Logging.FileLogTraceListener.Dispose() |
Synchronization |
Microsoft.VisualBasic.Logging.FileLogTraceListener.Flush() |
Synchronization |
Microsoft.VisualBasic.Logging.FileLogTraceListener.GetSupportedAttributes() |
Synchronization |
Microsoft.VisualBasic.Logging.FileLogTraceListener.TraceData() |
Synchronization |
Microsoft.VisualBasic.Logging.FileLogTraceListener.TraceEvent() |
Synchronization |
Microsoft.VisualBasic.Logging.FileLogTraceListener.Write() |
Synchronization |
Microsoft.VisualBasic.Logging.FileLogTraceListener.WriteLine() |
Synchronization |
Microsoft.VisualBasic.Logging.Log |
ExternalProcessMgmt |
Microsoft.VisualBasic.MyServices.ClipboardProxy |
ExternalProcessMgmt |
Microsoft.VisualBasic.MyServices.FileSystemProxy |
ExternalProcessMgmt |
Microsoft.VisualBasic.MyServices.RegistryProxy |
ExternalProcessMgmt |
Microsoft.VisualBasic.MyServices.SpecialDirectoriesProxy |
ExternalProcessMgmt |