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
參數
- permission
型別:Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermission
An ObjectPermission object that specifies the permission to remove.
傳回值
型別:Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionSet
An ObjectPermissionSet object that specifies the permission set after the permission is removed.