共用方式為


MailProfile.ForceDeleteForActiveProfiles 屬性

Gets or sets a Boolean which determines whether active profiles are deleted.

命名空間:  Microsoft.SqlServer.Management.Smo.Mail
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ForceDeleteForActiveProfiles As Boolean 
    Get 
    Set
'用途
Dim instance As MailProfile 
Dim value As Boolean 

value = instance.ForceDeleteForActiveProfiles

instance.ForceDeleteForActiveProfiles = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool ForceDeleteForActiveProfiles { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool ForceDeleteForActiveProfiles {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ForceDeleteForActiveProfiles : bool with get, set
function get ForceDeleteForActiveProfiles () : boolean 
function set ForceDeleteForActiveProfiles (value : boolean)

屬性值

型別:System.Boolean
A Boolean which is true if active profiles are deleted, otherwise false.

請參閱

參考

MailProfile 類別

Microsoft.SqlServer.Management.Smo.Mail 命名空間