Freigeben über


IDatabaseRole-Schnittstelle

Represents a SQL Server database security role.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IDatabaseRole _
    Inherits IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
'Usage
Dim instance As IDatabaseRole
public interface IDatabaseRole : IDatabasePrincipal, 
    IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
public interface class IDatabaseRole : IDatabasePrincipal, 
    IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
type IDatabaseRole =  
    interface
        interface IDatabasePrincipal
        interface IDatabaseOwnedObject
        interface IDatabaseObject
        interface IMetadataObject
    end
public interface IDatabaseRole extends IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject

Der IDatabaseRole-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Database Gets the IDatabase object that owns this object. (Geerbt von IDatabaseOwnedObject.)
Öffentliche Eigenschaft IsFixedRole Gets a value that indicates whether the database role is a fixed role or a user-defined role.
Öffentliche Eigenschaft IsSystemObject Gets a value that indicates whether this is a system object. (Geerbt von IDatabaseObject.)
Öffentliche Eigenschaft Name Gets the name of the metadata object. (Geerbt von IMetadataObject.)
Öffentliche Eigenschaft Owner Gets the IDatabasePrincipal object that represents the owner of the database role.
Öffentliche Eigenschaft Parent Gets the IDatabaseObject object that is the parent of this object. (Geerbt von IDatabaseObject.)

Zum Anfang