共用方式為


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)
Available in Sandboxed Solutions: No

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