Partager via


Interface IDatabaseRole

Represents a SQL Server database security role.

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Public Interface IDatabaseRole _
    Inherits IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
'Utilisation
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

Le type IDatabaseRole expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Database Gets the IDatabase object that owns this object. (hérité de IDatabaseOwnedObject.)
Propriété publique IsFixedRole Gets a value that indicates whether the database role is a fixed role or a user-defined role.
Propriété publique IsSystemObject Gets a value that indicates whether this is a system object. (hérité de IDatabaseObject.)
Propriété publique Name Gets the name of the metadata object. (hérité de IMetadataObject.)
Propriété publique Owner Gets the IDatabasePrincipal object that represents the owner of the database role.
Propriété publique Parent Gets the IDatabaseObject object that is the parent of this object. (hérité de IDatabaseObject.)

Haut de la page