共用方式為


SPIncomingEmailService.DistributionGroupsEnabled Property

Gets or sets a Boolean value that specifies whether to allow creation of distribution groups from SharePoint sites.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.DistributionGroupsEnabled

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

Property Value

Type: System.Boolean
true to allow creation of distribution groups from SharePoint sites; otherwise, false.

See Also

Reference

SPIncomingEmailService Class

SPIncomingEmailService Members

Microsoft.SharePoint.Administration Namespace