Insert 属性

获取或设置 Boolean 属性值,该值指定在权限集中是否包括 INSERT 权限。此权限允许被授权者向数据库添加数据。

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

语法

声明
Public Property Insert As Boolean
    Get
    Set
用法
Dim instance As DatabasePermissionSet
Dim value As Boolean

value = instance.Insert

instance.Insert = value
public bool Insert { get; set; }
public:
property bool Insert {
    bool get ();
    void set (bool value);
}
member Insert : bool with get, set
function get Insert () : boolean
function set Insert (value : boolean)

属性值

类型:System. . :: . .Boolean
一个 Boolean 值,指定是否在权限集中包含 INSERT 权限。
如果为 True,则在权限集中包含该权限。
如果为 False(默认值),则从权限集中排除该权限。