DatabasePermission.AlterAnyRole Property

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

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

Syntax

'Declaration
Public Shared ReadOnly Property AlterAnyRole As DatabasePermission 
    Get
'Usage
Dim value As DatabasePermission 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that represents the AlterAnyRole permission that can be included in the database permission set.

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

DatabasePermission Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)