TableProvider.CanDelete(IPrincipal) 方法

定义

获取一个值,该值指示是否允许用户从表中删除项。

public:
 virtual bool CanDelete(System::Security::Principal::IPrincipal ^ principal);
public virtual bool CanDelete (System.Security.Principal.IPrincipal principal);
abstract member CanDelete : System.Security.Principal.IPrincipal -> bool
override this.CanDelete : System.Security.Principal.IPrincipal -> bool
Public Overridable Function CanDelete (principal As IPrincipal) As Boolean

参数

principal
IPrincipal

用户。

返回

Boolean

如果允许用户从表中删除项,则为 true;否则为 false

适用于