PermissionSetBase Class

The PermissionSetBase class is a base class that is inherited by permission set classes.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.PermissionSetBase
    Microsoft.SqlServer.Management.Smo.DatabasePermissionSet
    Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
    Microsoft.SqlServer.Management.Smo.ServerPermissionSet

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

Syntax

'Declaration
Public MustInherit Class PermissionSetBase
'Usage
Dim instance As PermissionSetBase
public abstract class PermissionSetBase
public ref class PermissionSetBase abstract
[<AbstractClassAttribute>]
type PermissionSetBase =  class end
public abstract class PermissionSetBase

The PermissionSetBase type exposes the following members.

Constructors

  Name Description
Public method PermissionSetBase() Initializes a new instance of the PermissionSetBase class.
Public method PermissionSetBase(PermissionSetBase) Initializes a new instance of the PermissionSetBase class based on the specified PermissionSetBase object.

Top

Methods

  Name Description
Public method Equals Specifies if a PermissionSetBase is equal to an object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from 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.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the string value that represents the specified PermissionSetBase object. (Overrides Object.ToString().)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Granting, Revoking, and Denying Permissions

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)

sys.syspermissions (Transact-SQL)