다음을 통해 공유


Remove 메서드

Removes a permission from the permission set.

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

구문

‘선언
Public Function Remove ( _
    permission As DatabasePermission _
) As DatabasePermissionSet
‘사용 방법
Dim instance As DatabasePermissionSet
Dim permission As DatabasePermission
Dim returnValue As DatabasePermissionSet

returnValue = instance.Remove(permission)
public DatabasePermissionSet Remove(
    DatabasePermission permission
)
public:
DatabasePermissionSet^ Remove(
    DatabasePermission^ permission
)
member Remove : 
        permission:DatabasePermission -> DatabasePermissionSet 
public function Remove(
    permission : DatabasePermission
) : DatabasePermissionSet

매개 변수

반환 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .DatabasePermissionSet
A DatabasePermissionSet object that specifies the permission set after the permission is removed.