다음을 통해 공유


IObjectPermission 인터페이스

The IObjectPermission class represents the interface used to set object permissions.

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

구문

‘선언
Public Interface IObjectPermission
‘사용 방법
Dim instance As IObjectPermission
public interface IObjectPermission
public interface class IObjectPermission
type IObjectPermission =  interface end
public interface IObjectPermission

메서드

  이름 설명
공용 메서드 Deny(ObjectPermissionSet, String) Denies access to the specified permission for the specified grantee on the SMO object.
공용 메서드 Deny(ObjectPermissionSet, array<String[]) Denies access to the specified permission for the specified grantees on the SMO object.
공용 메서드 Deny(ObjectPermissionSet, String, Boolean) Denies access to the specified permission for the specified grantee and other users that the grantee granted access on the SMO object.
공용 메서드 Deny(ObjectPermissionSet, array<String[], Boolean) Denies access to the specified permission for the specified grantees on the SMO object.
공용 메서드 EnumObjectPermissions() Enumerates a list of object permissions for the SMO object.
공용 메서드 EnumObjectPermissions(String) Enumerates a list of object permissions for a specified grantee on the SMO object.
공용 메서드 EnumObjectPermissions(ObjectPermissionSet) Enumerates a list of object permissions for a specified permission on the SMO object.
공용 메서드 EnumObjectPermissions(String, ObjectPermissionSet) Enumerates a list of object permissions for a specified grantee and a specified permission on the SMO object.
공용 메서드 Grant(ObjectPermissionSet, String) Grants access to the specified permission for the specified grantee on the SMO object.
공용 메서드 Grant(ObjectPermissionSet, array<String[]) Grants access to the specified permission for the specified grantees on the SMO object.
공용 메서드 Grant(ObjectPermissionSet, String, Boolean) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the SMO object.
공용 메서드 Grant(ObjectPermissionSet, array<String[], Boolean) Grants access to the specified permission and the ability to grant access to other users for the specified grantees on the SMO object.
공용 메서드 Grant(ObjectPermissionSet, String, Boolean, String) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the SMO object.
공용 메서드 Grant(ObjectPermissionSet, array<String[], Boolean, String) Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the SMO object under an assumed role.
공용 메서드 Revoke(ObjectPermissionSet, String) Revokes previously granted permissions from a grantee on the SMO object.
공용 메서드 Revoke(ObjectPermissionSet, array<String[]) Revokes previously granted permissions from a list of grantees on the SMO object.
공용 메서드 Revoke(ObjectPermissionSet, array<String[], Boolean, Boolean) Revokes previously granted permissions from a grantees on the SMO object and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke other users' access.
공용 메서드 Revoke(ObjectPermissionSet, String, Boolean, Boolean, String) Revokes previously granted permissions from a grantee on the SMO object and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role.

맨 위로 이동

참고 항목

참조

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