Export (0) Print
Expand All

DatabasePermissionInfo Class

The DatabasePermissionInfo object represents information about a SQL Server database permission.

Object
  Microsoft.SqlServer.Management.Smo.PermissionInfo
    Microsoft.SqlServer.Management.Smo.DatabasePermissionInfo

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

public class DatabasePermissionInfo extends PermissionInfo

The DatabasePermissionInfo type exposes the following members.

  NameDescription
Public methodDatabasePermissionInfoInitializes a new instance of the DatabasePermissionInfo class.
Top

  NameDescription
Public propertyColumnNameGets the name of the column that has permissions granted or denied. (Inherited from PermissionInfo.)
Public propertyGranteeGets the name of the database user, logon, or database role who has been granted or denied access to the object. (Inherited from PermissionInfo.)
Public propertyGranteeTypeGets the type of grantee. (Inherited from PermissionInfo.)
Public propertyGrantorGets the name of the database user, logon, or database role who granted or denied access to the object. (Inherited from PermissionInfo.)
Public propertyGrantorTypeGets the type of grantor. (Inherited from PermissionInfo.)
Public propertyObjectClassGets the object class for the object to which permissions have been granted or denied. (Inherited from PermissionInfo.)
Public propertyObjectIDGets the ID value that uniquely identifies the object to which the permission applies. (Inherited from PermissionInfo.)
Public propertyObjectNameGets the name of the object to which the permission applies. (Inherited from PermissionInfo.)
Public propertyObjectSchemaGets the schema of the object to which the permission applies. (Inherited from PermissionInfo.)
Public propertyPermissionStateGets the permission state of the object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked. (Inherited from PermissionInfo.)
Public propertyPermissionTypeGets the type of permission.
Protected propertyPermissionTypeInternalIdentified for informational purposes only. Not supported. Future compatibility is not guaranteed. (Inherited from PermissionInfo.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the object as a String value. (Inherited from PermissionInfo.)
Top

The DatabasePermissionInfo class is served by the EnumDatabasePermissions method.

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft