Share via


MailProfile.ForceDeleteForActiveProfiles Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ForceDeleteForActiveProfiles As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

MailProfile Class

Microsoft.SqlServer.Management.Smo.Mail Namespace