Compartilhar via


DatabasePermissionSet.Add Method

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Granting, Revoking, and Denying PermissionsPermissions

Overload List

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

See Also

Reference

DatabasePermissionSet Class
DatabasePermissionSet Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Granting, Revoking, and Denying Permissions
Permissions
Granting, Revoking, and Denying Permissions
Permissions

Change History

Release

History

New content:
  • Added the Add overload method overload to the DatabasePermissionSet class.