在Exchange 2007中创builddist组时,我还需要担心LegacyExchangeDN吗?

我对Exhange非常陌生,并且有创build通讯组的编程任务。

我正在使用的方法是

public GroupPrincipal CreateDistributionGroup(string groupName, string displayName, string description, GroupScope groupScope, string emailAddress, string exchangeDN) { GroupPrincipal distGrp = this.CreateGroup(groupName, description, groupScope, false); this.SetGroupAttribute(distGrp, GroupAttribute.MailNickName, groupName); this.SetGroupAttribute(distGrp, GroupAttribute.DisplayName, displayName); this.SetGroupAttribute(distGrp, GroupAttribute.ReportToOriginator, true); this.SetGroupAttribute(distGrp, GroupAttribute.Mail, emailAddress); this.SetGroupArrayAttribute(distGrp, GroupAttribute.ProxyAddresses, "SMTP:" + emailAddress); this.SetGroupAttribute(distGrp, GroupAttribute.LegacyExchangeDN, exchangeDN); this.SetGroupAttribute(distGrp, GroupAttribute.MsExchRecipientDisplayType, 1); return distGrp; } 

注意一个被设置的属性是LegacyExchangeDN。 我可以安全地忽略这个在Exchange 2007中,还是仍然需要?

LegacyExchangeDN由Outlook2000客户端(IIRC)和其他Outlook客户端在使用Exch 2007之前对其进行caching使用。 也就是说,如果你没有11岁的Outlook运行,你不需要为新的组设置。