Aracılığıyla paylaş


MACapabilities.DistinguishedNameStyle Property

Gets or sets a value indicating whether the distinguished name style supported by the management agent.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As MACapabilities
Dim value As MADistinguishedNameStyle

value = instance.DistinguishedNameStyle

instance.DistinguishedNameStyle = value

Syntax

'Declaration
Public Property DistinguishedNameStyle As MADistinguishedNameStyle
public MADistinguishedNameStyle DistinguishedNameStyle { get; set; }
public:
property MADistinguishedNameStyle DistinguishedNameStyle {
    MADistinguishedNameStyle get ();
    void set (MADistinguishedNameStyle value);
}
/** @property */
public MADistinguishedNameStyle get_DistinguishedNameStyle ()

/** @property */
public void set_DistinguishedNameStyle (MADistinguishedNameStyle value)
public function get DistinguishedNameStyle () : MADistinguishedNameStyle

public function set DistinguishedNameStyle (value : MADistinguishedNameStyle)

Property Value

Returns MADistinguishedNameStyle.

Remarks

The following characters are encoded and shouldn't be used in anchor fields when DistinguishedNameStyle = MADistinguishedNameStyle.None:

  • '\' is the escape character

  • ',' has special meaning to the store layer

  • '+' separates multiple values in the DN

  • '#' is used to indicate hex encoding of a binary value

  • ' ' - space, only when located at the end of anchor value

  • All control characters with code less than 0x20 (SPACE), except allowed:

    • 0x0 (null)

    • 0x9 (TAB)

    • 0xA (LF)

    • 0xD (CR)

When there is need to support these characters, DistinguishedNameStyle = MADistinguishedNameStyle.Generic should be used.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

MACapabilities Class
MACapabilities Members
Microsoft.MetadirectoryServices Namespace