共用方式為


Remove 方法

Removes a permission from the permission set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function Remove ( _
    permission As ObjectPermission _
) As ObjectPermissionSet
'用途
Dim instance As ObjectPermissionSet
Dim permission As ObjectPermission
Dim returnValue As ObjectPermissionSet

returnValue = instance.Remove(permission)
public ObjectPermissionSet Remove(
    ObjectPermission permission
)
public:
ObjectPermissionSet^ Remove(
    ObjectPermission^ permission
)
member Remove : 
        permission:ObjectPermission -> ObjectPermissionSet 
public function Remove(
    permission : ObjectPermission
) : ObjectPermissionSet

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionSet
An ObjectPermissionSet object that specifies the permission set after the permission is removed.