DatabasePermissionInfo 클래스

The DatabasePermissionInfo object represents information about a SQL Server database permission.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.PermissionInfo
    Microsoft.SqlServer.Management.Smo.DatabasePermissionInfo

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

구문

‘선언
Public Class DatabasePermissionInfo _
    Inherits PermissionInfo
‘사용 방법
Dim instance As DatabasePermissionInfo
public class DatabasePermissionInfo : PermissionInfo
public ref class DatabasePermissionInfo : public PermissionInfo
type DatabasePermissionInfo =  
    class 
        inherit PermissionInfo 
    end
public class DatabasePermissionInfo extends PermissionInfo

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

생성자

  이름 설명
공용 메서드 DatabasePermissionInfo Initializes a new instance of the DatabasePermissionInfo class.

맨 위로 이동

속성

  이름 설명
공용 속성 ColumnName Gets the name of the column that has permissions granted or denied. (PermissionInfo에서 상속됨)
공용 속성 Grantee Gets the name of the database user, logon, or database role who has been granted or denied access to the object. (PermissionInfo에서 상속됨)
공용 속성 GranteeType Gets the type of grantee. (PermissionInfo에서 상속됨)
공용 속성 Grantor Gets the name of the database user, logon, or database role who granted or denied access to the object. (PermissionInfo에서 상속됨)
공용 속성 GrantorType Gets the type of grantor. (PermissionInfo에서 상속됨)
공용 속성 ObjectClass Gets the object class for the object to which permissions have been granted or denied. (PermissionInfo에서 상속됨)
공용 속성 ObjectID Gets the ID value that uniquely identifies the object to which the permission applies. (PermissionInfo에서 상속됨)
공용 속성 ObjectName Gets the name of the object to which the permission applies. (PermissionInfo에서 상속됨)
공용 속성 ObjectSchema Gets the schema of the object to which the permission applies. (PermissionInfo에서 상속됨)
공용 속성 PermissionState Gets the permission state of the object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked. (PermissionInfo에서 상속됨)
공용 속성 PermissionType Gets the type of permission.
보호된 속성 PermissionTypeInternal 정보를 제공하기 위해서만 확인됩니다. 지원되지 않습니다. 향후 호환성은 보장되지 않습니다. (PermissionInfo에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString Returns the object as a String value. (PermissionInfo에서 상속됨)

맨 위로 이동

주의

The DatabasePermissionInfo class is served by the EnumDatabasePermissions method.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

권한 부여, 취소 및 거부

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

사용 권한(데이터베이스 엔진)