Share via


SqlAssemblyPermissionSet Enumeration

Specifies possible permission sets for an assembly.

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Enumeration SqlAssemblyPermissionSet
public enum SqlAssemblyPermissionSet
public enum class SqlAssemblyPermissionSet
type SqlAssemblyPermissionSet
public enum SqlAssemblyPermissionSet

Members

Member name Description
Unknown Specifies that the permission set is unknown.
Safe Specifies that code that is executed by an assembly with SAFE permissions cannot access external system resources such as files, the network, environment variables, or the registry.

SAFE is the most restrictive permission set.

ExternalAccess Enables assemblies to access certain external system resources such as files, networks, environmental variables, and the registry.
Unsafe Allows assemblies unrestricted access to resources, both in and outside an instance of SQL Server.

Code that runs from within an UNSAFE assembly can call unmanaged code.

See Also

Reference

Microsoft.Data.Schema.Sql.SchemaModel Namespace