Share via


ServerPermission.UnsafeAssembly Property

Gets a permission that can be included in the server permission set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property UnsafeAssembly As ServerPermission 
    Get
'Usage
Dim value As ServerPermission 

value = ServerPermission.UnsafeAssembly
public static ServerPermission UnsafeAssembly { get; }
public:
static property ServerPermission^ UnsafeAssembly {
    ServerPermission^ get ();
}
static member UnsafeAssembly : ServerPermission
static function get UnsafeAssembly () : ServerPermission

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerPermission
A ServerPermission object that represents the UnsafeAssembly permission that can be included in the server permission set.

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

ServerPermission Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)

sys.server_permissions (Transact-SQL)