IDatabaseRole 接口

Represents a SQL Server database security role.

命名空间:  Microsoft.SqlServer.Management.SqlParser.Metadata
程序集:  Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)

语法

声明
Public Interface IDatabaseRole _
    Inherits IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
用法
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

IDatabaseRole 类型公开以下成员。

属性

  名称 说明
公共属性 Database Gets the IDatabase object that owns this object. (从 IDatabaseOwnedObject 继承。)
公共属性 IsFixedRole Gets a value that indicates whether the database role is a fixed role or a user-defined role.
公共属性 IsSystemObject Gets a value that indicates whether this is a system object. (从 IDatabaseObject 继承。)
公共属性 Name Gets the name of the metadata object. (从 IMetadataObject 继承。)
公共属性 Owner Gets the IDatabasePrincipal object that represents the owner of the database role.
公共属性 Parent Gets the IDatabaseObject object that is the parent of this object. (从 IDatabaseObject 继承。)

页首