TableProvider.CanInsert(IPrincipal) 方法

定义

获取一个值,该值指示是否允许用户向表中插入项。

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

参数

principal
IPrincipal

用户。

返回

Boolean

如果允许用户向表中插入项,则为 true;否则为 false

适用于