ExchangeUtils::CreateDistributionlist Method
The CreateDistributionlist method creates a distribution list in Exchange Server 2000 or Exchange Server 2003.
Syntax
public CSEntry CreateDistributionlist(
ConnectedMA TargetADMA,
ReferenceValue DistinguishedName,
String Alias
);
Public Function CreateDistributionlist( _
ByVal TargetADMA As ConnectedMA, _
ByVal DistinguishedName As ReferenceValue, _
ByVal Alias As String _
) As CSEntry
Implements ExchangeUtils.CreateDistributionlist
Parameters
TargetADMA
The Active Directory management agent through which the new object is provisioned.DistinguishedName
The distinguished name of the distribution list.Alias
The mail alias of the distribution list.
Return Value
Returns a CSEntry representing the connected data source entry.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | A required parameter is not present. |
ArgumentNullException | A required parameter is null. |
AttributeNotInInclusionListException | A required attribute is not selected in the management agent. |
InvalidOperationException | You attempted to create the same custom recipient more than once in the IMVSynchronization.Provision method. This method is called for each metaverse object when a metaverse rules extension exists. |
NoSuchObjectTypeException | The object type referenced is not in the schema. |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
Example: Distribution List
CSEntry
ExchangeUtils
Send comments about this topic to Microsoft
Build date: 2/16/2009