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