共用方式為


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。)

上層