PermissionSet Element (ASSL)


Applies To: SQL Server 2016 Preview

Identifies the permission set associated with a Microsoft .NET Framework assembly.


Data type and lengthString (enumeration)
Default valueSafe
Cardinality0-1: Optional element that can occur once and only once.
Parent elementClrAssembly
Child elementsNone

The value of this element is limited to one of the strings listed in the following table.

SafeOnly internal computation and local data access is allowed. Safe is the most restrictive permission set. Code executed by an assembly with Safe permissions cannot access external system resources such as files, the network, environment variables, or the registry.
ExternalAccessSafe, with the additional ability to access external system resources such as files, networks, environmental variables, and the registry.
UnrestrictedUnrestricted allows assemblies unrestricted access to resources, both within and outside Microsoft SQL Server. Code executing from within an Unrestricted assembly can call unmanaged code.

The enumeration that corresponds to the allowed values for PermissionSet in the Analysis Management Objects (AMO) object model is PermissionSet.

ComAssembly Data Type (ASSL)
Assemblies Element (ASSL)
Database Element (ASSL)
Server Element (ASSL)
Properties (ASSL)

Community Additions