SPIncomingEmailService.UseDirectoryManagementService property

Gets or sets a Boolean value that specifies whether the incoming e-mail service uses a SharePoint Directory Management SOAP Web service.

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

Syntax

'Declaration
Public Property UseDirectoryManagementService As Boolean
    Get
    Set
'Usage
Dim instance As SPIncomingEmailService
Dim value As Boolean

value = instance.UseDirectoryManagementService

instance.UseDirectoryManagementService = value
public bool UseDirectoryManagementService { get; set; }

Property value

Type: System.Boolean
true to use a SharePoint Directory Management Web service for the incoming e-mail service; otherwise, false.

See also

Reference

SPIncomingEmailService class

SPIncomingEmailService members

Microsoft.SharePoint.Administration namespace