Remove 方法

Removes a permission from the permission set.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
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.