IDatabaseRole Interface
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
The IDatabaseRole type exposes the following members.
Properties
Name | Description | |
---|---|---|
Database | Gets the IDatabase object that owns this object. (Inherited from 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. (Inherited from IDatabaseObject.) | |
Name | Gets the name of the metadata object. (Inherited from 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. (Inherited from IDatabaseObject.) |
Top
Methods
Name | Description | |
---|---|---|
Accept<T>(IDatabaseObjectVisitor<T>) | Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.) | |
Accept<T>(IDatabaseOwnedObjectVisitor<T>) | Accepts a visit from the specified IDatabaseOwnedObjectVisitor<T> object. (Inherited from IDatabaseOwnedObject.) | |
Accept<T>(IMetadataObjectVisitor<T>) | Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.) |
Top