Share via


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
Public Property AntispamAgentsEnabled As Boolean
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As Boolean

value = instance.AntispamAgentsEnabled

instance.AntispamAgentsEnabled = value
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.

See also

Reference

TransportServer class

TransportServer members

Microsoft.Exchange.Data.Directory.Management namespace