PermissionInfo 클래스

The PermissionInfo class represents information regarding granted or denied privileges.

상속 계층

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

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

구문

‘선언
Public Class PermissionInfo
‘사용 방법
Dim instance As PermissionInfo
public class PermissionInfo
public ref class PermissionInfo
type PermissionInfo =  class end
public class PermissionInfo

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

속성

  이름 설명
공용 속성 ColumnName Gets the name of the column that has permissions granted or denied.
공용 속성 Grantee Gets the name of the database user, logon, or database role who has been granted or denied access to the object.
공용 속성 GranteeType Gets the type of grantee.
공용 속성 Grantor Gets the name of the database user, logon, or database role who granted or denied access to the object.
공용 속성 GrantorType Gets the type of grantor.
공용 속성 ObjectClass Gets the object class for the object to which permissions have been granted or denied.
공용 속성 ObjectID Gets the ID value that uniquely identifies the object to which the permission applies.
공용 속성 ObjectName Gets the name of the object to which the permission applies.
공용 속성 ObjectSchema Gets the schema of the object to which the permission applies.
공용 속성 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.
보호된 속성 PermissionTypeInternal 정보를 제공하기 위해서만 확인됩니다. 지원되지 않습니다. 향후 호환성은 보장되지 않습니다.

맨 위로 이동

메서드

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

맨 위로 이동

주의

The PermissionInfo object is returned by the EnumObjectPermissions method.

권한 부여, 취소 및 거부

스레드 보안

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

참고 항목

참조

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

관련 자료

sys.syspermissions(Transact-SQL)