Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DatabasePermission Methods

DatabasePermission Methods

The DatabasePermission type exposes the following members.

  Name Description
Public method Static member Add Returns a set of database permissions after adding a new database permission to an existing set of database permissions.
Public method Static member BitwiseOr Creates a database permission set by performing a bitwise OR operation on two DatabasePermission objects.
Public method Equals Determines whether the referenced database permission object is equal to a specified object. (Overrides Object.Equals(Object).)
Public method GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Overrides Object.GetHashCode.)
Public method GetType (Inherited from Object.)
Public method Static member ToDatabasePermissionSet Returns a set of database permissions, based on a single database permission, by converting a DatabasePermission object to a DatabasePermissionSet object.
Public method ToString (Inherited from Object.)

Community Additions

© 2015 Microsoft