Share via


DirectoryServiceConnection.NamingContexts property

Gets or sets a list of directory service naming contexts associated with the connection.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Property NamingContexts As List(Of DirectoryServiceNamingContext)
    Get
    Set
'Usage
Dim instance As DirectoryServiceConnection
Dim value As List(Of DirectoryServiceNamingContext)

value = instance.NamingContexts

instance.NamingContexts = value
public List<DirectoryServiceNamingContext> NamingContexts { get; set; }

Property value

Type: System.Collections.Generic.List<DirectoryServiceNamingContext>

Remarks

Each directory service naming context uniquely identifies the top level (root) of a directory tree.

See also

Reference

DirectoryServiceConnection class

DirectoryServiceConnection members

Microsoft.Office.Server.UserProfiles namespace