Share via


ServerPermissionSet.Add Method

Include Protected Members
Include Inherited Members

Returns a server permission set after adding a new server 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(ServerPermission) Returns a server permission set after adding a new server permission to the referenced permission set.
Public methodStatic member Add(ServerPermissionSet, ServerPermission) Returns a server permission set after adding a new server permission to the specified permission set.

Top

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

ServerPermissionSet Class

Microsoft.SqlServer.Management.Smo Namespace