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 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Accept< (Of < <' (T> ) > > )(IDatabaseObjectVisitor< (Of < <' (T> ) > > )) | Accepts a visit from the specified IDatabaseObjectVisitor<(Of <(<'T>)>)> object. (从 IDatabaseObject 继承。) | |
Accept< (Of < <' (T> ) > > )(IDatabaseOwnedObjectVisitor< (Of < <' (T> ) > > )) | Accepts a visit from the specified IDatabaseOwnedObjectVisitor<(Of <(<'T>)>)> object. (从 IDatabaseOwnedObject 继承。) | |
Accept< (Of < <' (T> ) > > )(IMetadataObjectVisitor< (Of < <' (T> ) > > )) | Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (从 IMetadataObject 继承。) |
页首