Delen via


DatabasePermissionSet.Add Method

Include Protected Members
Include Inherited Members

Returns a database permission set after adding a new a database permission to the permission set.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add(DatabasePermission) Returns a database permission set after adding a new a database permission to the referenced permission set.
Public methodStatic member Add(DatabasePermissionSet, DatabasePermission) Returns a database permission set after adding a new a database permission to the specified permission set.

Top

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

DatabasePermissionSet Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)