ManagementAgent.CreateDN Method
The CreateDN(String) method creates a ReferenceValue object from a distinguished name string. The string can contain escaped characters.
Syntax
public ReferenceValue CreateDN(
String dn
);
Public Function CreateDN( _
ByVal dn As String _
) As ReferenceValue
Parameters
- dn
Specifies the distinguished name. The string can contain escaped characters.
Return Value
Returns a ReferenceValue object that represents the distinguished name.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The argument is null. |
InvalidDNException | The distinguished name component represented by the dn parameter is not valid |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
ManagementAgent
ReferenceValue
InvalidDNException
Send comments about this topic to Microsoft
Build date: 2/16/2009