IDatabasePermission 인터페이스

Represents a SQL Server database permission.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Metadata
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Public Interface IDatabasePermission _
    Inherits IMetadataObject
‘사용 방법
Dim instance As IDatabasePermission
public interface IDatabasePermission : IMetadataObject
public interface class IDatabasePermission : IMetadataObject
type IDatabasePermission =  
    interface 
        interface IMetadataObject 
    end
public interface IDatabasePermission extends IMetadataObject

IDatabasePermission 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 DatabasePrincipal Gets the IDatabasePrincipal object that has the permission.
공용 속성 Grantor Gets the database principal who granted or denied access to the target object.
공용 속성 Name Gets the name of the metadata object. (IMetadataObject에서 상속됨)
공용 속성 PermissionState Gets the permission state of the target object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked.
공용 속성 PermissionType Gets the type of permission.
공용 속성 TargetObject Gets the target object of the permission.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (IMetadataObject에서 상속됨)

맨 위로 이동

참고 항목

참조

Microsoft.SqlServer.Management.SqlParser.Metadata 네임스페이스