SPWeb.IsADEmailEnabled property

Gets a Boolean value that indicates whether e-mail for Active Directory Domain Services (AD DS)is enabled on the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Public ReadOnly Property IsADEmailEnabled As Boolean
Dim instance As SPWeb
Dim value As Boolean

value = instance.IsADEmailEnabled

Property value

Type: System.Boolean
true if AD DS e-mail is enabled; otherwise, false.