DatabasePermissionInfo Class

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

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

Syntax

'Declaration
Public Class DatabasePermissionInfo _
    Inherits PermissionInfo
'Usage
Dim instance As DatabasePermissionInfo
public class DatabasePermissionInfo : PermissionInfo
public ref class DatabasePermissionInfo : public PermissionInfo
type DatabasePermissionInfo =  
    class
        inherit PermissionInfo
    end
public class DatabasePermissionInfo extends PermissionInfo

Remarks

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.

Inheritance Hierarchy

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

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.