共用方式為


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 (預設值),則表示權限會排除在權限集合外。