Compartir a través de


TransportServer.AntispamAgentsEnabled Property

Gets or sets a value that indicates whether anti-spam agents are installed on the server.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property AntispamAgentsEnabled As Boolean
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As Boolean

value = instance.AntispamAgentsEnabled

instance.AntispamAgentsEnabled = value
[ParameterAttribute(Mandatory = false)]
public bool AntispamAgentsEnabled { get; set; }

Property Value

Type: System.Boolean
true if anti-spam agents are installed; otherwise, false.

Remarks

The default value for the AntispamAgentsEnabled property is false on Hub Transport servers and true on Edge Transport servers.

Note

You should not modify this property. This property is set by the script that assigns the server role.