Delete 属性

获取或设置 Boolean 属性值,该值指定在权限集中是否包括 DELETE 权限。此权限允许被授权者从数据库中删除文件。

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

语法

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

value = instance.Delete

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

属性值

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